From 06ae02404e0d4d72f4150e8b33b491457255428e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 5 Oct 2011 10:44:07 +0100 Subject: cast gone --- desktop/source/deployment/registry/dp_registry.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index 9e799dd2d559..36dc8f06561a 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -285,7 +285,8 @@ void PackageRegistryImpl::insertBackend( } } #if OSL_DEBUG_LEVEL > 0 - else { + else + { ::rtl::OUStringBuffer buf; buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( @@ -299,7 +300,7 @@ void PackageRegistryImpl::insertBackend( buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") ); OSL_FAIL( ::rtl::OUStringToOString( buf.makeStringAndClear(), - RTL_TEXTENCODING_UTF8 ) ); + RTL_TEXTENCODING_UTF8).getStr() ); } #endif } -- cgit