diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-30 22:54:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-01 09:08:45 +0100 |
commit | ae25807a8462e71433798283f29b2ff82ba3a9df (patch) | |
tree | 658545c11556c84ff7748704df3848ca2cc19368 /sot | |
parent | 094092d47489fd040668bbcc6315a1221bbfc42b (diff) |
ByteString::CreateFromInt32 -> OString::valueOf
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/base/factory.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index 01d098e62a75..79393375138d 100644 --- a/sot/source/base/factory.cxx +++ b/sot/source/base/factory.cxx @@ -39,6 +39,7 @@ #include <sot/sotdata.hxx> #include <sot/clsids.hxx> #include <rtl/instance.hxx> +#include <rtl/strbuf.hxx> /************** class SotData_Impl *********************************************/ /************************************************************************* @@ -78,9 +79,9 @@ void SotFactory::DeInit() if( pSotData->nSvObjCount ) { #ifdef DBG_UTIL - ByteString aStr( "Objects alive: " ); - aStr.Append( ByteString::CreateFromInt32( pSotData->nSvObjCount ) ); - DBG_WARNING( aStr.GetBuffer() ); + rtl::OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM("Objects alive: ")); + aStr.append(static_cast<sal_Int32>(pSotData->nSvObjCount)); + DBG_WARNING(aStr.getStr()); #endif return; } |