diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-07 12:05:24 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-07 12:18:39 +0100 |
commit | 8479ff19d9df5ad3f88bc370b49c4003e8bcd39c (patch) | |
tree | 00ec923f3362f8fbb4bf965671836aa73642cdc4 /connectivity | |
parent | 2efa35a812a6f1e35e4959a357f50feff7e598f5 (diff) |
mozab: adapt to XComponentContext changes
Change-Id: I6b8cdd69edb1e25cd7545cea5a3ffdfcff5000a0
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mozab/MStatement.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mozab/MStatement.cxx b/connectivity/source/drivers/mozab/MStatement.cxx index c1041d909cae..9f6b2d5420d6 100644 --- a/connectivity/source/drivers/mozab/MStatement.cxx +++ b/connectivity/source/drivers/mozab/MStatement.cxx @@ -32,6 +32,7 @@ #include <cppuhelper/typeprovider.hxx> #include <comphelper/extract.hxx> #include <comphelper/types.hxx> +#include <comphelper/processfactory.hxx> #include <connectivity/dbexception.hxx> #include <com/sun/star/container/XIndexAccess.hpp> @@ -73,7 +74,8 @@ OCommonStatement::OCommonStatement(OConnection* _pConnection ) ,m_xDBMetaData(_pConnection->getMetaData()) ,m_pTable(NULL) ,m_pConnection(_pConnection) - ,m_aParser(_pConnection->getDriver()->getMSFactory()) + ,m_aParser(::comphelper::getComponentContext( + _pConnection->getDriver()->getMSFactory())) ,m_pSQLIterator( new OSQLParseTreeIterator( _pConnection, _pConnection->createCatalog()->getTables(), m_aParser, NULL ) ) ,m_pParseTree(NULL) ,rBHelper(OCommonStatement_IBASE::rBHelper) |