genericopenlibs/openenvcore/libc/src/localeinfo.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
  1674 	TExtendedLocale locale;
  1674 	TExtendedLocale locale;
  1675     locale.LoadSystemSettings();
  1675     locale.LoadSystemSettings();
  1676     locale.GetLocaleDllName(aspect,Kdname);
  1676     locale.GetLocaleDllName(aspect,Kdname);
  1677 #ifdef SYMBIAN_DISTINCT_LOCALE_MODEL
  1677 #ifdef SYMBIAN_DISTINCT_LOCALE_MODEL
  1678     // check if the new  dlls is present then load it or go for old dll
  1678     // check if the new  dlls is present then load it or go for old dll
  1679     if( Kdname.Find(_L("elocl.")) == KErrNotFound ) 
  1679     if( Kdname.FindC(_L("elocl.")) == KErrNotFound ) 
  1680         {
  1680         {
  1681         iOldDllPresent = 0;
  1681         iOldDllPresent = 0;
  1682         locale.GetLocaleDllName(ELocaleTimeDateSettings,reg_dllname);
  1682         locale.GetLocaleDllName(ELocaleTimeDateSettings,reg_dllname);
  1683         return (GetSystemLocale(Kdname,reg_dllname ));
  1683         return (GetSystemLocale(Kdname,reg_dllname ));
  1684         }
  1684         }