From 1b1f0bbb28c6146f3aa12ef3f87f2eb1aa0c7479 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 12 Dec 2011 09:36:55 +0000 Subject: ByteString->rtl::OString --- rsc/source/parser/rscibas.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rsc/source/parser/rscibas.cxx') 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++; } -- cgit