diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-27 08:21:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-28 09:55:02 +0000 |
commit | 3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec (patch) | |
tree | 18600b1b78ed5ede7f7068a98fe3fe7b6962b311 /rsc/source/parser/rscicpx.cxx | |
parent | 48221d6a2bf4c327b6cadcdc65169997f7d7408d (diff) |
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'rsc/source/parser/rscicpx.cxx')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index c59acfb8273e..ad70349f17b0 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -47,7 +47,7 @@ /************************************************************************* |* RscTypCont::InsWinBit() *************************************************************************/ -void RscTypCont::InsWinBit( RscTop * pClass, const ByteString & rName, +void RscTypCont::InsWinBit( RscTop * pClass, const rtl::OString& rName, Atom nVal ) { RscClient * pClient; @@ -56,7 +56,7 @@ void RscTypCont::InsWinBit( RscTop * pClass, const ByteString & rName, aBaseLst.push_back( pClient = new RscClient( pHS->getID( "sal_Bool" ), RSC_NOTYPE, &aWinBits, nVal ) ); - Atom nId = aNmTb.Put( rName.GetBuffer(), VARNAME ); + Atom nId = aNmTb.Put( rName.getStr(), VARNAME ); pClass->SetVariable( nId, pClient, NULL, VAR_NODATAINST, 0, nWinBitVarId ); } |