summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-10-05 14:21:15 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-05 14:22:04 +0100
commit738f9cc6a75a4857ecda43883c4dbdc128078556 (patch)
tree6d30528220fe58d714c511bdcb179e6149644f22 /connectivity
parentc3fc30fbbb805304ad474a1aa549ab531222eded (diff)
fix OString concatenation
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/kab/KDriver.cxx6
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;
}