diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-09-23 12:15:34 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-23 12:19:50 +0300 |
commit | 9da0b9d70d81f33fd45546ef5ad7b7aeda1fc3fa (patch) | |
tree | c2c34844fe8db22d9ca292aecc80392ff1f1f2ee /rsc/source | |
parent | 09789b58d70cb9a7c9d33c5bf3a1255ce96124b6 (diff) |
Fix broken implicit string conversion
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscibas.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx index b0114e283123..d44567e98463 100644 --- a/rsc/source/parser/rscibas.cxx +++ b/rsc/source/parser/rscibas.cxx @@ -97,7 +97,6 @@ void RscLangEnum::Init( RscNameTable& rNames ) sal_Int32 nIndex = 0; mnLangId = 0x400; // stay away from selfdefined... - char csep = '-'; const MsLangId::IsoLangEntry* pLangEntry; while ( NULL != ( pLangEntry = MsLangId::getIsoLangEntry( nIndex )) && ( pLangEntry->mnLang != LANGUAGE_DONTKNOW )) @@ -129,7 +128,7 @@ void RscLangEnum::Init( RscNameTable& rNames ) fprintf( stderr, "ISO Language out: %s 0x%lx", aLang.getStr(), mnLangId ); #endif mnLangId++; - aLang = aLang + csep + aCountry.toAsciiUpperCase(); + aLang = aLang + rtl::OString( '-' ) + aCountry.toAsciiUpperCase(); SetConstant( rNames.Put( aLang.getStr(), CONSTNAME, mnLangId ), mnLangId ); if ( ! GetLangId( aLang )) ULong_Iso_map[ aLang ] = mnLangId; |