Kaydet (Commit) 2d1253b4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

XMultiServiceFactory / XComponentContext fix

Change-Id: Icf337b7bb0894a61b2a36a594ff259c601ddaabb
üst 7b7bee4e
......@@ -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);
......
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