[PATCH libreoffice-4-0] Fix debug build

Fridrich Strba (via Code Review) gerrit at gerrit.libreoffice.org
Tue Apr 2 03:47:17 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3168

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/68/3168/1

Fix debug build

Change-Id: I1a4db30f4cc33ee99b48a25db6e6fcd600d00ffd
---
M connectivity/source/drivers/mozab/MDriver.cxx
1 file changed, 4 insertions(+), 1 deletion(-)



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 @@
 
             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;
             }

-- 
To view, visit https://gerrit.libreoffice.org/3168
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a4db30f4cc33ee99b48a25db6e6fcd600d00ffd
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Fridrich Strba <fridrich at documentfoundation.org>



More information about the LibreOffice mailing list