summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/mozab/MDriver.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mozab/MDriver.cxx b/connectivity/source/drivers/mozab/MDriver.cxx
index 28305287ebb8..e1a4401bf4f7 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;
}