diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-04-25 17:04:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-04-25 17:04:04 +0300 |
commit | 2f45e42a1bd4ff4c781020301cbbb28e8b152903 (patch) | |
tree | 3d05e32a781f1b83a5f648a1a7ba2fb6bde79dcd /connectivity/source/drivers/macab | |
parent | 5cb50258947b14e21d74fec507faf231f3bcc180 (diff) |
WaE: hides overloaded virtual function
Use "using" declarations instead of a pragma. Gets rid of the warnings
completely instead of making them non-errors in a -Werror compilation.
Diffstat (limited to 'connectivity/source/drivers/macab')
-rw-r--r-- | connectivity/source/drivers/macab/MacabPreparedStatement.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx index c3875873970c..bc1d73385e41 100644 --- a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx +++ b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx @@ -36,10 +36,6 @@ #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp> #include <cppuhelper/implbase4.hxx> -#ifdef __clang__ -#pragma clang diagnostic warning "-Woverloaded-virtual" -#endif - namespace connectivity { namespace macab @@ -82,6 +78,10 @@ namespace connectivity virtual void SAL_CALL disposing(); // XPreparedStatement + using MacabCommonStatement::executeQuery; + using MacabCommonStatement::executeUpdate; + using MacabCommonStatement::execute; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL executeUpdate( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL execute( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); |