diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-01-30 16:15:06 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-02-01 18:48:43 +0100 |
commit | 270a9843711a562f93d4bce01a63040ee3ce95bd (patch) | |
tree | 6b43933cb9f12b9f51efd58969c4ae7a44bfdaab /connectivity | |
parent | 9dc666afc81ec61c6ac3131fb13d6025433dd3b6 (diff) |
Mysql/MariaDB: remove useless include+using and unused vars in mysqlc_driver
BUNDLE_MARIADB seems to be useless since 2018 with:
7430dfe2a4a3b13ffa248bf14a3a2ca87993f48d: loplugin:unusedmethods
Change-Id: I75c9954f096e28c715f95073962241cafb787a69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129173
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mysqlc/mysqlc_driver.hxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx b/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx index 64fff2e7704b..a29040892577 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx @@ -21,19 +21,13 @@ #include "mysqlc_connection.hxx" #include <com/sun/star/sdbc/XDriver.hpp> -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp> #include <cppuhelper/compbase.hxx> -#include <cppuhelper/compbase2.hxx> -#include <osl/module.h> namespace connectivity::mysqlc { -using css::sdbc::SQLException; -using css::uno::Exception; using css::uno::Reference; -using css::uno::RuntimeException; using css::uno::Sequence; Reference<css::uno::XInterface> @@ -53,10 +47,6 @@ protected: OWeakRefArray m_xConnections; // vector containing a list // of all the Connection objects // for this Driver -#ifdef BUNDLE_MARIADB - oslModule m_hCConnModule; - bool m_bAttemptedLoadCConn; -#endif public: explicit MysqlCDriver(const Reference<css::lang::XMultiServiceFactory>& _rxFactory); |