Kaydet (Commit) 863a82a3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Revert "no member named 'OStringBuffer' in namespace 'rtl'"

Instead just #include <rtl/strbuf.hxx> then.

This reverts commit 15768dac2b0a326cb1f8b7985f18a6ab54d1a664.

Change-Id: Ib6aed3f73bf106b4804fb418af80fefa6d662c79
üst e2faffeb
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
#include "com/sun/star/xforms/InvalidDataOnSubmitException.hpp" #include "com/sun/star/xforms/InvalidDataOnSubmitException.hpp"
#include "com/sun/star/loader/CannotActivateFactoryException.hpp" #include "com/sun/star/loader/CannotActivateFactoryException.hpp"
#include <rtl/strbuf.hxx>
#include "osl/conditn.hxx" #include "osl/conditn.hxx"
#include "tools/rcid.h" // RSC_STRING #include "tools/rcid.h" // RSC_STRING
#include "tools/errinf.hxx" // ErrorHandler, ErrorContext, ... #include "tools/errinf.hxx" // ErrorHandler, ErrorContext, ...
...@@ -342,10 +343,10 @@ namespace ...@@ -342,10 +343,10 @@ namespace
if ( !pTypeDesc || !pTypeDesc->pWeakRef ) if ( !pTypeDesc || !pTypeDesc->pWeakRef )
{ {
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
::rtl::OUStringBuffer aMessage; ::rtl::OStringBuffer aMessage;
aMessage.appendAscii( "no type found for '" ); aMessage.append( "no type found for '" );
aMessage.append( i_rTypeName ); aMessage.append( ::rtl::OUStringToOString( i_rTypeName, RTL_TEXTENCODING_UTF8 ) );
aMessage.appendAscii( "'" ); aMessage.append( "'" );
OSL_FAIL( aMessage.makeStringAndClear().getStr() ); OSL_FAIL( aMessage.makeStringAndClear().getStr() );
#endif #endif
return false; return false;
......
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