summaryrefslogtreecommitdiffstats
path: root/rsc/source/parser/rscibas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/parser/rscibas.cxx')
-rw-r--r--rsc/source/parser/rscibas.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx
index 4e2ba9f30080..e4cc72a2d561 100644
--- a/rsc/source/parser/rscibas.cxx
+++ b/rsc/source/parser/rscibas.cxx
@@ -147,19 +147,19 @@ void RscLangEnum::Init( RscNameTable& rNames )
rtl::OString aEnvIsoTokens = getenv( "RSC_LANG_ISO" );
if ( aEnvIsoTokens.getLength() )
{
- ByteString aIsoToken;
+ rtl::OString aIsoToken;
sal_uInt16 nTokenCounter = 0;
sal_Bool bOneMore = 1;
while ( bOneMore )
{
aIsoToken = comphelper::string::getToken(aEnvIsoTokens, nTokenCounter, ' ');
- if ( aIsoToken.Len() )
+ if ( aIsoToken.getLength() )
{
- SetConstant( rNames.Put( aIsoToken.GetBuffer(), CONSTNAME, mnLangId ), mnLangId );
+ SetConstant( rNames.Put( aIsoToken.getStr(), CONSTNAME, mnLangId ), mnLangId );
if ( ! GetLangId( aIsoToken ))
ULong_Iso_map[ aIsoToken ] = mnLangId;
#if OSL_DEBUG_LEVEL > 2
- fprintf( stderr, "Env ISO Language out: %s 0x%lx\n", aIsoToken.GetBuffer(), mnLangId );
+ fprintf( stderr, "Env ISO Language out: %s 0x%lx\n", aIsoToken.getStr(), mnLangId );
#endif
mnLangId++;
}