[Libreoffice-commits] .: connectivity/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Tue May 29 01:53:59 PDT 2012


 connectivity/source/drivers/kab/KPreparedStatement.hxx |    3 +++
 connectivity/source/drivers/kab/KResultSet.hxx         |    1 +
 connectivity/source/drivers/kab/KStatement.hxx         |    1 +
 3 files changed, 5 insertions(+)

New commits:
commit f3d74f9df0548afe74bfe655c1268fa5f32c5cc4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 29 10:53:49 2012 +0200

    -Werror=overloaded-virtual
    
    Change-Id: Ic70ccbb9b9a3aeb226af116ce009937510cd8153

diff --git a/connectivity/source/drivers/kab/KPreparedStatement.hxx b/connectivity/source/drivers/kab/KPreparedStatement.hxx
index dfaf040..44ccffd 100644
--- a/connectivity/source/drivers/kab/KPreparedStatement.hxx
+++ b/connectivity/source/drivers/kab/KPreparedStatement.hxx
@@ -82,6 +82,9 @@ namespace connectivity
             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);
             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
+            using KabCommonStatement::executeQuery;
+            using KabCommonStatement::executeUpdate;
+            using KabCommonStatement::execute;
 
             // XParameters
             virtual void SAL_CALL setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/drivers/kab/KResultSet.hxx b/connectivity/source/drivers/kab/KResultSet.hxx
index fc7e5f4..2792934 100644
--- a/connectivity/source/drivers/kab/KResultSet.hxx
+++ b/connectivity/source/drivers/kab/KResultSet.hxx
@@ -92,6 +92,7 @@ namespace connectivity
             virtual void SAL_CALL getFastPropertyValue(
                                 ::com::sun::star::uno::Any& rValue,
                                 sal_Int32 nHandle) const;
+            using OPropertySetHelper::getFastPropertyValue;
 
             // you can't delete objects of this type
             virtual ~KabResultSet();
diff --git a/connectivity/source/drivers/kab/KStatement.hxx b/connectivity/source/drivers/kab/KStatement.hxx
index dcc141f..3e1e3cd 100644
--- a/connectivity/source/drivers/kab/KStatement.hxx
+++ b/connectivity/source/drivers/kab/KStatement.hxx
@@ -93,6 +93,7 @@ namespace connectivity
             virtual void SAL_CALL getFastPropertyValue(
                     ::com::sun::star::uno::Any& rValue,
                     sal_Int32 nHandle) const;
+            using OPropertySetHelper::getFastPropertyValue;
 
             virtual void resetParameters() const throw(::com::sun::star::sdbc::SQLException);
             virtual void getNextParameter(::rtl::OUString &rParameter) const throw(::com::sun::star::sdbc::SQLException);


More information about the Libreoffice-commits mailing list