summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscibas.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-12 09:36:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-12 09:39:00 +0000
commit1b1f0bbb28c6146f3aa12ef3f87f2eb1aa0c7479 (patch)
treeab54a1a08bbcbda9efc52370d97faf85497fa1de /rsc/source/parser/rscibas.cxx
parent4521fc855b319bd8aa6583900d97c026bcc5f32f (diff)
ByteString->rtl::OString
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++;
}