[Libreoffice-commits] .: connectivity/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 6 02:12:27 PST 2012


 connectivity/source/drivers/ado/APreparedStatement.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2d1253b40a40307b48023b6fa3223f092b790672
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Tue Nov 6 12:05:42 2012 +0200

    XMultiServiceFactory / XComponentContext fix
    
    Change-Id: Icf337b7bb0894a61b2a36a594ff259c601ddaabb

diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx
index fd1e0b1..ed2373a 100644
--- a/connectivity/source/drivers/ado/APreparedStatement.cxx
+++ b/connectivity/source/drivers/ado/APreparedStatement.cxx
@@ -25,6 +25,7 @@
 #include "ado/ADriver.hxx"
 #include <com/sun/star/lang/DisposedException.hpp>
 #include <cppuhelper/typeprovider.hxx>
+#include <comphelper/processfactory.hxx>
 #include <comphelper/sequence.hxx>
 #include "connectivity/dbexception.hxx"
 #include "connectivity/dbtools.hxx"
@@ -59,7 +60,7 @@ OPreparedStatement::OPreparedStatement( OConnection* _pConnection,const OTypeInf
 {
     osl_atomic_increment( &m_refCount );
 
-    OSQLParser aParser(_pConnection->getDriver()->getORB());
+    OSQLParser aParser(comphelper::getComponentContext(_pConnection->getDriver()->getORB()));
     ::rtl::OUString sErrorMessage;
     ::rtl::OUString sNewSql;
     OSQLParseNode* pNode = aParser.parseTree(sErrorMessage,sql);


More information about the Libreoffice-commits mailing list