Kaydet (Commit) 6cf70c53 authored tarafından Caolán McNamara's avatar Caolán McNamara

ByteString->OStringBuffer

üst 483cc9c4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment