From 36313d93ac6f88bb4b4e4ed7109db583c7ce9886 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Jul 2016 09:03:51 +0200 Subject: improve unnecessaryoverride plugin to ignore ImplicitCastExpr when calling superclass method Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1 Reviewed-on: https://gerrit.libreoffice.org/27279 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/component/FormattedField.cxx | 6 ------ forms/source/component/FormattedField.hxx | 3 --- 2 files changed, 9 deletions(-) (limited to 'forms/source/component') diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index 56cb7eb822ca..66cf6f05056f 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -381,12 +381,6 @@ void OFormattedModel::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const OEditBaseModel::setFastPropertyValue_NoBroadcast(nHandle, rValue); } -sal_Bool OFormattedModel::convertFastPropertyValue(Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue) - throw( IllegalArgumentException ) -{ - return OEditBaseModel::convertFastPropertyValue(rConvertedValue, rOldValue, nHandle, rValue); -} - void OFormattedModel::setPropertyToDefaultByHandle(sal_Int32 nHandle) { if (nHandle == PROPERTY_ID_FORMATSSUPPLIER) diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index 3a4a0f3ab81f..38ddf3596831 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -83,9 +83,6 @@ class OFormattedModel // XPropertySet virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const override; - virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any& rConvertedValue, css::uno::Any& rOldValue, - sal_Int32 nHandle, const css::uno::Any& rValue ) - throw(css::lang::IllegalArgumentException) override; virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw ( css::uno::Exception, std::exception) override; // XLoadListener -- cgit