diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-08-30 14:22:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-08-30 14:34:06 +0300 |
commit | 863a82a369b797e920687ffd05c7ddf959ba9f83 (patch) | |
tree | 4d5b02683b5bf4fbbd7d097070ca021e9720a5ca /uui | |
parent | e2faffebde9bf2a9b579e7f49cb3d4314808b978 (diff) |
Revert "no member named 'OStringBuffer' in namespace 'rtl'"
Instead just #include <rtl/strbuf.hxx> then.
This reverts commit 15768dac2b0a326cb1f8b7985f18a6ab54d1a664.
Change-Id: Ib6aed3f73bf106b4804fb418af80fefa6d662c79
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index f44451666c9c..127f7d42737c 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -60,6 +60,7 @@ #include "com/sun/star/xforms/InvalidDataOnSubmitException.hpp" #include "com/sun/star/loader/CannotActivateFactoryException.hpp" +#include <rtl/strbuf.hxx> #include "osl/conditn.hxx" #include "tools/rcid.h" // RSC_STRING #include "tools/errinf.hxx" // ErrorHandler, ErrorContext, ... @@ -342,10 +343,10 @@ namespace if ( !pTypeDesc || !pTypeDesc->pWeakRef ) { #if OSL_DEBUG_LEVEL > 0 - ::rtl::OUStringBuffer aMessage; - aMessage.appendAscii( "no type found for '" ); - aMessage.append( i_rTypeName ); - aMessage.appendAscii( "'" ); + ::rtl::OStringBuffer aMessage; + aMessage.append( "no type found for '" ); + aMessage.append( ::rtl::OUStringToOString( i_rTypeName, RTL_TEXTENCODING_UTF8 ) ); + aMessage.append( "'" ); OSL_FAIL( aMessage.makeStringAndClear().getStr() ); #endif return false; |