diff options
Diffstat (limited to 'svl/source/items/whassert.hxx')
-rw-r--r-- | svl/source/items/whassert.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/items/whassert.hxx b/svl/source/items/whassert.hxx index 0fa492b19443..379d4794458d 100644 --- a/svl/source/items/whassert.hxx +++ b/svl/source/items/whassert.hxx @@ -29,7 +29,7 @@ #define _SFX_WHASSERT_HXX #include <tools/debug.hxx> -#include <tools/string.hxx> +#include <rtl/strbuf.hxx> //------------------------------------------------------------------------ @@ -40,10 +40,10 @@ { \ if ( !(bCondition) ) \ { \ - ByteString aMsg( sMessage ); \ - aMsg.Append(RTL_CONSTASCII_STRINGPARAM("\nwith Id/Pos: ")); \ - aMsg += ByteString::CreateFromInt32( nId ); \ - DbgError( aMsg.GetBuffer(), __FILE__, __LINE__); \ + rtl::OStringBuffer aMsg(sMessage); \ + aMsg.append(RTL_CONSTASCII_STRINGPARAM("\nwith Id/Pos: ")); \ + aMsg.append(static_cast<sal_Int32>(nId)); \ + DbgError(aMsg.getStr(), __FILE__, __LINE__); \ } \ } \ } |