summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscicpx.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-27 08:21:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-28 09:55:02 +0000
commit3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec (patch)
tree18600b1b78ed5ede7f7068a98fe3fe7b6962b311 /rsc/source/parser/rscicpx.cxx
parent48221d6a2bf4c327b6cadcdc65169997f7d7408d (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'rsc/source/parser/rscicpx.cxx')
-rw-r--r--rsc/source/parser/rscicpx.cxx4
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 );
}