[Libreoffice-commits] .: connectivity/source
Michael Meeks
michael at kemper.freedesktop.org
Wed Oct 5 06:21:21 PDT 2011
connectivity/source/drivers/kab/KDriver.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 738f9cc6a75a4857ecda43883c4dbdc128078556
Author: Michael Meeks <michael.meeks at suse.com>
Date: Wed Oct 5 14:21:15 2011 +0100
fix OString concatenation
diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx
index 8c55540..7240e53 100644
--- a/connectivity/source/drivers/kab/KDriver.cxx
+++ b/connectivity/source/drivers/kab/KDriver.cxx
@@ -32,6 +32,7 @@
#include "KDriver.hxx"
#include "KDEInit.h"
#include "KConnection.hxx"
+#include "rtl/strbuf.hxx"
/** === begin UNO includes === **/
#include <com/sun/star/sdb/SQLContext.hpp>
@@ -106,7 +107,10 @@ namespace
if ( !_rFunction )
{ // did not find the symbol
- OSL_FAIL( ::rtl::OString( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " ) + ::rtl::OString( _pAsciiSymbolName ) );
+ rtl::OStringBuffer aBuf;
+ aBuf.append( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " );
+ aBuf.append( _pAsciiSymbolName );
+ OSL_FAIL( aBuf.makeStringAndClear().getStr() );
osl_unloadModule( _rModule );
_rModule = NULL;
}
More information about the Libreoffice-commits
mailing list