connectivity/source/drivers/mysqlc/mysqlc_driver.hxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 270a9843711a562f93d4bce01a63040ee3ce95bd
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Jan 30 16:15:06 2022 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Tue Feb 1 18:48:43 2022 +0100

    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 <serval2...@yahoo.fr>
    Tested-by: Julien Nabet <serval2...@yahoo.fr>

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);
 

Reply via email to