summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-04-02 12:38:45 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-04-02 12:54:42 +0200
commit3064d2214e16b2221e6297bc6c68d684aece96b6 (patch)
tree2328110c4af1f931a4d423c4788bda96f30af4a4
parenta789a2fc94ec84d34dafb328c53dd0eaaa8ca4a0 (diff)
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)
-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 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;
}