[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - connectivity/source

Fridrich Å trba fridrich.strba at bluewin.ch
Tue Apr 2 03:49:37 PDT 2013


 connectivity/source/drivers/mozab/MDriver.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit c976cd58b7bee71ea43dd1f4aad3b1c1fcb32516
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Apr 2 12:38:45 2013 +0200

    Fix debug build
    
    Change-Id: I1a4db30f4cc33ee99b48a25db6e6fcd600d00ffd
    Reviewed-on: https://gerrit.libreoffice.org/3168
    Reviewed-by: Andras Timar <atimar at suse.com>
    Tested-by: Andras Timar <atimar at suse.com>

diff --git a/connectivity/source/drivers/mozab/MDriver.cxx b/connectivity/source/drivers/mozab/MDriver.cxx
index 2830528..e1a4401 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;
             }


More information about the Libreoffice-commits mailing list