summaryrefslogtreecommitdiff
path: root/svx/source/dialog/txencbox.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-13 21:36:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-14 15:25:28 +0100
commit798198c0cd976299ec80cea87104191784555df2 (patch)
tree231c53a7fcd2c2ba8836964cfea557442e2e59ab /svx/source/dialog/txencbox.cxx
parent7fdad6324353ae1ae3882427c06d926c5713a5b2 (diff)
ByteString::CreateFromInt32->rtl::OString::valueOf
Diffstat (limited to 'svx/source/dialog/txencbox.cxx')
-rw-r--r--svx/source/dialog/txencbox.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx
index 9f276fb90ec5..99e8fc8911dd 100644
--- a/svx/source/dialog/txencbox.cxx
+++ b/svx/source/dialog/txencbox.cxx
@@ -36,6 +36,7 @@
#include <vcl/svapp.hxx>
#include <rtl/tencinfo.h>
#include <rtl/locale.h>
+#include <rtl/strbuf.hxx>
#include <osl/nlsupport.h>
//========================================================================
@@ -202,9 +203,9 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, sal_uI
else
{
#ifdef DBG_UTIL
- ByteString aMsg( "SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: " );
- aMsg += ByteString::CreateFromInt32( nEnc );
- DBG_ERRORFILE( aMsg.GetBuffer() );
+ rtl::OStringBuffer aMsg(RTL_CONSTASCII_STRINGPARAM("SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: "));
+ aMsg.append(static_cast<sal_Int32>(nEnc));
+ DBG_ERRORFILE(aMsg.getStr());
#endif
}
}