Kaydet (Commit) 8479ff19 authored tarafından Michael Stahl's avatar Michael Stahl

mozab: adapt to XComponentContext changes

Change-Id: I6b8cdd69edb1e25cd7545cea5a3ffdfcff5000a0
üst 2efa35a8
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
#include <comphelper/extract.hxx> #include <comphelper/extract.hxx>
#include <comphelper/types.hxx> #include <comphelper/types.hxx>
#include <comphelper/processfactory.hxx>
#include <connectivity/dbexception.hxx> #include <connectivity/dbexception.hxx>
#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/container/XIndexAccess.hpp>
...@@ -73,7 +74,8 @@ OCommonStatement::OCommonStatement(OConnection* _pConnection ) ...@@ -73,7 +74,8 @@ OCommonStatement::OCommonStatement(OConnection* _pConnection )
,m_xDBMetaData(_pConnection->getMetaData()) ,m_xDBMetaData(_pConnection->getMetaData())
,m_pTable(NULL) ,m_pTable(NULL)
,m_pConnection(_pConnection) ,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_pSQLIterator( new OSQLParseTreeIterator( _pConnection, _pConnection->createCatalog()->getTables(), m_aParser, NULL ) )
,m_pParseTree(NULL) ,m_pParseTree(NULL)
,rBHelper(OCommonStatement_IBASE::rBHelper) ,rBHelper(OCommonStatement_IBASE::rBHelper)
......
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