Fix debug build

Change-Id: I1a4db30f4cc33ee99b48a25db6e6fcd600d00ffd
Reviewed-on: https://gerrit.libreoffice.org/3168
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
(cherry picked from commit c976cd58b7bee71ea43dd1f4aad3b1c1fcb32516)
This commit is contained in:
Fridrich Štrba 2013-04-02 12:38:45 +02:00
parent a789a2fc94
commit 3064d2214e

View File

@ -272,7 +272,10 @@ namespace
if ( !_rFunction )
{ // did not find the symbol
OSL_FAIL( ( ::rtl::OString( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " ) + ::rtl::OString( _pAsciiSymbolName ) ).getStr() );
rtl::OUStringBuffer aBuf;
aBuf.append( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " );
aBuf.append( sSymbolName );
OSL_FAIL( aBuf.makeStringAndClear().getStr() );
osl_unloadModule( _rModule );
_rModule = NULL;
}