diff options
author | David Tardon <dtardon@redhat.com> | 2012-11-06 08:15:47 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-11-06 08:15:47 +0100 |
commit | efe0cbe6da64b2e150331112becade0ac3a53555 (patch) | |
tree | 459282eb60365de08fc8ead7b465cf19e1ef47b1 /connectivity/source/drivers/evoab2/NDriver.hxx | |
parent | b50610f0fa35cf1a5f1e8f26f2a33dba5f0ffd01 (diff) |
fdo#46808 adapt evoab driver
Change-Id: I4debeba1b9637fdaaa369a28c9a6c98a4729d76e
Diffstat (limited to 'connectivity/source/drivers/evoab2/NDriver.hxx')
-rw-r--r-- | connectivity/source/drivers/evoab2/NDriver.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx index e255a32fa987..a6bcf2ed85e2 100644 --- a/connectivity/source/drivers/evoab2/NDriver.hxx +++ b/connectivity/source/drivers/evoab2/NDriver.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <comphelper/processfactory.hxx> #include <cppuhelper/compbase2.hxx> #include "connectivity/CommonTools.hxx" #include <osl/module.h> @@ -79,7 +80,9 @@ namespace connectivity public: const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > - & getMSFactory(void) const { return m_xFactory; } + & getMSFactory(void) const { return m_xFactory; } + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > + getComponentContext( ) const { return comphelper::getComponentContext( m_xFactory ); } // static methods static sal_Bool acceptsURL_Stat( const ::rtl::OUString& url ); |