summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscicpx.cxx
diff options
context:
space:
mode:
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 );
}