Kaydet (Commit) 0344e07d authored tarafından Caolán McNamara's avatar Caolán McNamara

ByteString->rtl::OString[Buffer]

üst d2dff83f
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include <rtl/strbuf.hxx>
#include <tools/rc.h> #include <tools/rc.h>
#include <rscerror.h> #include <rscerror.h>
#include <rsctools.hxx> #include <rsctools.hxx>
...@@ -149,11 +150,11 @@ sal_Bool DoClassHeader( RSCHEADER * pHeader, sal_Bool bMember ) ...@@ -149,11 +150,11 @@ sal_Bool DoClassHeader( RSCHEADER * pHeader, sal_Bool bMember )
if( !pCopyObj ) if( !pCopyObj )
{ {
ByteString aMsg( pHS->getString( aCopyInst.pClass->GetId() ) ); rtl::OStringBuffer aMsg( pHS->getString( aCopyInst.pClass->GetId() ) );
aMsg += ' '; aMsg.append(' ');
aMsg += aName2.GetName(); aMsg.append(aName2.GetName());
pTC->pEH->Error( ERR_NOCOPYOBJ, pHeader->pClass, aName1, pTC->pEH->Error( ERR_NOCOPYOBJ, pHeader->pClass, aName1,
aMsg.GetBuffer() ); aMsg.getStr() );
} }
else else
aCopyInst.pData = pCopyObj->GetRscObj(); aCopyInst.pData = pCopyObj->GetRscObj();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment