summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl.cxx9
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;