diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-10-05 14:21:15 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-05 14:22:04 +0100 |
commit | 738f9cc6a75a4857ecda43883c4dbdc128078556 (patch) | |
tree | 6d30528220fe58d714c511bdcb179e6149644f22 /connectivity | |
parent | Mingw needs gb_Helper_OUTDIRLIBDIR set to $(OUTDIR)/bin too. (diff) | |
download | core-738f9cc6a75a4857ecda43883c4dbdc128078556.tar.gz core-738f9cc6a75a4857ecda43883c4dbdc128078556.zip |
fix OString concatenation
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/kab/KDriver.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx index 8c5554082078..7240e53e6a2d 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; } |