From 3064d2214e16b2221e6297bc6c68d684aece96b6 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Tue, 2 Apr 2013 12:38:45 +0200 Subject: Fix debug build Change-Id: I1a4db30f4cc33ee99b48a25db6e6fcd600d00ffd Reviewed-on: https://gerrit.libreoffice.org/3168 Reviewed-by: Andras Timar Tested-by: Andras Timar (cherry picked from commit c976cd58b7bee71ea43dd1f4aad3b1c1fcb32516) --- connectivity/source/drivers/mozab/MDriver.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/mozab/MDriver.cxx b/connectivity/source/drivers/mozab/MDriver.cxx index 986f85aa4268..2aa7fdbc42b0 100644 --- a/connectivity/source/drivers/mozab/MDriver.cxx +++ b/connectivity/source/drivers/mozab/MDriver.cxx @@ -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; } -- cgit