diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-02 16:02:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-03 21:24:35 +0100 |
commit | bccf34c19ae022b67565e212fa4ec0d5213947de (patch) | |
tree | 73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /lingucomponent | |
parent | 285289275d1cf1769080a208b55be984cd269e1e (diff) |
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/lingutil/lingutil.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx index 8206cf399e48..362ede900410 100644 --- a/lingucomponent/source/lingutil/lingutil.cxx +++ b/lingucomponent/source/lingutil/lingutil.cxx @@ -117,7 +117,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy if (strcmp( pDicType, "DICT" ) == 0) { aFormatName = A2OU("DICT_SPELL"); - aDicExtension = String::CreateFromAscii( ".dic" ); + aDicExtension = rtl::OUString( ".dic" ); #ifdef SYSTEM_DICTS aSystemDir = A2OU( DICT_SYSTEM_DIR ); aSystemSuffix = aDicExtension; @@ -126,7 +126,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy else if (strcmp( pDicType, "HYPH" ) == 0) { aFormatName = A2OU("DICT_HYPH"); - aDicExtension = String::CreateFromAscii( ".dic" ); + aDicExtension = rtl::OUString( ".dic" ); #ifdef SYSTEM_DICTS aSystemDir = A2OU( HYPH_SYSTEM_DIR ); aSystemPrefix = A2OU( "hyph_" ); @@ -136,7 +136,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy else if (strcmp( pDicType, "THES" ) == 0) { aFormatName = A2OU("DICT_THES"); - aDicExtension = String::CreateFromAscii( ".dat" ); + aDicExtension = rtl::OUString( ".dat" ); #ifdef SYSTEM_DICTS aSystemDir = A2OU( THES_SYSTEM_DIR ); aSystemPrefix = A2OU( "th_" ); |