diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-14 00:58:43 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-17 21:15:25 +0100 |
commit | 315ada423c166dc84a2b0232e7f532c7fb455246 (patch) | |
tree | 7c2d2bdfedcdc79033806a4814234490bf09c870 /connectivity | |
parent | 198a4388ee9cd36bc8588cb31f50e3ef797062c8 (diff) |
pgsql-sdbc: avoid "getFastPropertyValue" virtual overridden in a better way
Diffstat (limited to 'connectivity')
4 files changed, 8 insertions, 28 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx index b04f7a438450..71ed7f41a2a9 100644 --- a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx @@ -252,13 +252,7 @@ public: // OPropertySetHelper const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception); - ::com::sun::star::uno::Any SAL_CALL getFastPropertyValue( sal_Int32 nHandle ) - throw(::com::sun::star::beans::UnknownPropertyException, - ::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException) - { - return ::cppu::OPropertySetHelper::getFastPropertyValue(nHandle); - } + using ::cppu::OPropertySetHelper::getFastPropertyValue; void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx index 41b8716d35cb..a20734096921 100644 --- a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx +++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * $RCSfile: pq_preparedstatement.hxx,v $ @@ -51,6 +52,7 @@ * The Initial Developer of the Original Code is: Joerg Budischewski * * Copyright: 2000 by Sun Microsystems, Inc. + * 2011 Lionel Elie Mamane <lionel@mamane.lu> * * All Rights Reserved. * @@ -243,13 +245,7 @@ public: // OPropertySetHelper const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception); - ::com::sun::star::uno::Any SAL_CALL getFastPropertyValue( sal_Int32 nHandle ) - throw(::com::sun::star::beans::UnknownPropertyException, - ::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException) - { - return ::cppu::OPropertySetHelper::getFastPropertyValue(nHandle); - } + using ::cppu::OPropertySetHelper::getFastPropertyValue; void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, diff --git a/connectivity/source/drivers/postgresql/pq_statement.hxx b/connectivity/source/drivers/postgresql/pq_statement.hxx index 10d63b24340a..0e1a8a6eeb73 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.hxx +++ b/connectivity/source/drivers/postgresql/pq_statement.hxx @@ -167,13 +167,7 @@ public: // OPropertySetHelper const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception); - ::com::sun::star::uno::Any SAL_CALL getFastPropertyValue( sal_Int32 nHandle ) - throw(::com::sun::star::beans::UnknownPropertyException, - ::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException) - { - return ::cppu::OPropertySetHelper::getFastPropertyValue(nHandle); - } + using ::cppu::OPropertySetHelper::getFastPropertyValue; void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, diff --git a/connectivity/source/drivers/postgresql/pq_xbase.hxx b/connectivity/source/drivers/postgresql/pq_xbase.hxx index 300de65a1d3b..fc1ab0e60729 100644 --- a/connectivity/source/drivers/postgresql/pq_xbase.hxx +++ b/connectivity/source/drivers/postgresql/pq_xbase.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * $RCSfile: pq_xbase.hxx,v $ @@ -51,6 +52,7 @@ * The Initial Developer of the Original Code is: Joerg Budischewski * * Copyright: 2000 by Sun Microsystems, Inc. + * 2011 Lionel Elie Mamane <lionel@mamane.lu> * * All Rights Reserved. * @@ -125,13 +127,7 @@ public: // OPropertySetHelper const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception); - ::com::sun::star::uno::Any SAL_CALL getFastPropertyValue( sal_Int32 nHandle ) - throw(::com::sun::star::beans::UnknownPropertyException, - ::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException) - { - return ::cppu::OPropertySetHelper::getFastPropertyValue(nHandle); - } + using ::cppu::OPropertySetHelper::getFastPropertyValue; void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, |