diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 16:35:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 16:35:07 +0100 |
commit | 2c6eb5dcadc77c4e6af0d03c69267859b1f853b5 (patch) | |
tree | 01e80385dd604e6714c171e026d8324caf1ec4e1 /connectivity/source/inc | |
parent | a70dd5c57b32bef0040daa92bbfa8c00a3bf22f2 (diff) |
remove ResourceBasedEventLogger in favor of its base EventLogger
because there are no resources in use anymore
Change-Id: I37e4a100aabbf6214533738da3e528ed2f434eae
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/java/ContextClassLoader.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/java/lang/Object.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/java/sql/ConnectionLog.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/java/sql/Driver.hxx | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/inc/java/ContextClassLoader.hxx b/connectivity/source/inc/java/ContextClassLoader.hxx index 174c3e9377ea..5ad955e67e07 100644 --- a/connectivity/source/inc/java/ContextClassLoader.hxx +++ b/connectivity/source/inc/java/ContextClassLoader.hxx @@ -24,7 +24,7 @@ namespace comphelper { - class ResourceBasedEventLogger; + class EventLogger; } @@ -51,7 +51,7 @@ namespace connectivity { namespace jdbc ContextClassLoaderScope( JNIEnv& environment, const GlobalRef< jobject >& newClassLoader, - const ::comphelper::ResourceBasedEventLogger& _rLoggerForErrors, + const ::comphelper::EventLogger& _rLoggerForErrors, const css::uno::Reference< css::uno::XInterface >& _rxErrorContext ); diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx index c1476e77995f..f7d136ceacc0 100644 --- a/connectivity/source/inc/java/lang/Object.hxx +++ b/connectivity/source/inc/java/lang/Object.hxx @@ -35,7 +35,7 @@ namespace comphelper { - class ResourceBasedEventLogger; + class EventLogger; } namespace connectivity @@ -97,7 +97,7 @@ namespace connectivity static void ThrowSQLException(JNIEnv * pEnv,const css::uno::Reference< css::uno::XInterface> & _rContext); static void ThrowLoggedSQLException( - const ::comphelper::ResourceBasedEventLogger& _rLogger, + const ::comphelper::EventLogger& _rLogger, JNIEnv* pEnvironment, const css::uno::Reference< css::uno::XInterface >& _rxContext ); diff --git a/connectivity/source/inc/java/sql/ConnectionLog.hxx b/connectivity/source/inc/java/sql/ConnectionLog.hxx index 5871f3b09823..416c17014971 100644 --- a/connectivity/source/inc/java/sql/ConnectionLog.hxx +++ b/connectivity/source/inc/java/sql/ConnectionLog.hxx @@ -58,7 +58,7 @@ namespace connectivity namespace connectivity { namespace java { namespace sql { - typedef ::comphelper::ResourceBasedEventLogger ConnectionLog_Base; + typedef ::comphelper::EventLogger ConnectionLog_Base; class ConnectionLog : public ConnectionLog_Base { public: @@ -76,7 +76,7 @@ namespace connectivity { namespace java { namespace sql { public: /// will construct an instance of ObjectType CONNECTION - ConnectionLog( const ::comphelper::ResourceBasedEventLogger& _rDriverLog ); + ConnectionLog( const ::comphelper::EventLogger & _rDriverLog ); /// will create an instance with the same object ID / ObjectType as a given source instance ConnectionLog( const ConnectionLog& _rSourceLog ); /// will create an instance of arbitrary ObjectType diff --git a/connectivity/source/inc/java/sql/Driver.hxx b/connectivity/source/inc/java/sql/Driver.hxx index 8e1a20aa70b9..a295ffd83557 100644 --- a/connectivity/source/inc/java/sql/Driver.hxx +++ b/connectivity/source/inc/java/sql/Driver.hxx @@ -35,7 +35,7 @@ namespace connectivity class java_sql_Driver : public ::cppu::WeakImplHelper< css::sdbc::XDriver,css::lang::XServiceInfo> { css::uno::Reference<css::uno::XComponentContext> m_aContext; - ::comphelper::ResourceBasedEventLogger m_aLogger; + ::comphelper::EventLogger m_aLogger; protected: virtual ~java_sql_Driver() override; @@ -61,7 +61,7 @@ namespace connectivity virtual sal_Int32 SAL_CALL getMinorVersion( ) override; const css::uno::Reference<css::uno::XComponentContext>& getContext() const { return m_aContext; } - const ::comphelper::ResourceBasedEventLogger& getLogger() const { return m_aLogger; } + const ::comphelper::EventLogger& getLogger() const { return m_aLogger; } }; } |