diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-13 21:44:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 15:25:28 +0100 |
commit | eb5137543012b05dba2df9b92688e01ddee28922 (patch) | |
tree | b0f3f2531163f7273de3373e21bf15e375e23900 /basic | |
parent | 798198c0cd976299ec80cea87104191784555df2 (diff) |
ByteString::CreateFromInt32->rtl::OString::valueOf
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxbase.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 77f34d90f370..0e116c9a9b5b 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -37,6 +37,8 @@ #include <basic/sbxfac.hxx> #include <basic/sbxbase.hxx> +#include <rtl/strbuf.hxx> + // AppData-Structure for SBX: SV_IMPL_PTRARR(SbxParams,SbxParamInfo*); @@ -214,9 +216,10 @@ SbxBase* SbxBase::Create( sal_uInt16 nSbxId, sal_uInt32 nCreator ) #ifdef DBG_UTIL if( !pNew ) { - ByteString aMsg( "SBX: Keine Factory fuer SBX-ID " ); - aMsg += ByteString::CreateFromInt32(nSbxId); - DbgError( aMsg.GetBuffer() ); + rtl::OStringBuffer aMsg( + RTL_CONSTASCII_STRINGPARAM("SBX: Keine Factory fuer SBX-ID ")); + aMsg.append(static_cast<sal_Int32>(nSbxId)); + DbgError(aMsg.getStr()); } #endif return pNew; |