diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-16 00:14:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-16 00:14:31 +0100 |
commit | 3669c86b31e1a1eee81f02f9e0540d4fc5183e2b (patch) | |
tree | eb3aac5d309042f78891167e8d6694f6994609d4 /sfx2 | |
parent | 3ffd31bd53bda9debeb632c2bad6e33922315132 (diff) |
ByteString->OStringBuffer
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/app.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index a36279092c..918e654563 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -148,6 +148,7 @@ #include <svtools/ttprops.hxx> #include <unotools/extendedsecurityoptions.hxx> #include <rtl/instance.hxx> +#include <rtl/strbuf.hxx> using namespace ::com::sun::star; @@ -329,12 +330,13 @@ SfxApplication::SfxApplication() #else if( !InitializeDde() ) { - ByteString aStr( "No DDE-Service possible. Error: " ); + rtl::OStringBuffer aStr( + RTL_CONSTASCII_STRINGPARAM("No DDE-Service possible. Error: ")); if( GetDdeService() ) - aStr += ByteString::CreateFromInt32(GetDdeService()->GetError()); + aStr.append(static_cast<sal_Int32>(GetDdeService()->GetError())); else - aStr += '?'; - DBG_ASSERT( sal_False, aStr.GetBuffer() ); + aStr.append('?'); + DBG_ASSERT( sal_False, aStr.getStr() ); } #endif #endif |