Kaydet (Commit) 738f9cc6 authored tarafından Michael Meeks's avatar Michael Meeks

fix OString concatenation

üst c3fc30fb
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "KDriver.hxx" #include "KDriver.hxx"
#include "KDEInit.h" #include "KDEInit.h"
#include "KConnection.hxx" #include "KConnection.hxx"
#include "rtl/strbuf.hxx"
/** === begin UNO includes === **/ /** === begin UNO includes === **/
#include <com/sun/star/sdb/SQLContext.hpp> #include <com/sun/star/sdb/SQLContext.hpp>
...@@ -106,7 +107,10 @@ namespace ...@@ -106,7 +107,10 @@ namespace
if ( !_rFunction ) if ( !_rFunction )
{ // did not find the symbol { // 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 ); osl_unloadModule( _rModule );
_rModule = NULL; _rModule = NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment