diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-06 12:05:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-06 12:11:46 +0200 |
commit | 2d1253b40a40307b48023b6fa3223f092b790672 (patch) | |
tree | 965f98d6e897a70fdbfa6a9188a909036dcfc9d8 /connectivity | |
parent | 7b7bee4ed5722ce59ffd3394a0330d71d69d66b3 (diff) |
XMultiServiceFactory / XComponentContext fix
Change-Id: Icf337b7bb0894a61b2a36a594ff259c601ddaabb
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/ado/APreparedStatement.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index fd1e0b196b92..ed2373a4af80 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); |