summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-18 09:03:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-19 05:39:46 +0000
commit36313d93ac6f88bb4b4e4ed7109db583c7ce9886 (patch)
treef27ca9d75beb484a6ce93268fc15a0bfd470e3a1 /forms/source
parenta7b5be118191a4e8a6cd422b5b2438a1ac22f36f (diff)
improve unnecessaryoverride plugin
to ignore ImplicitCastExpr when calling superclass method Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1 Reviewed-on: https://gerrit.libreoffice.org/27279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/component/FormattedField.cxx6
-rw-r--r--forms/source/component/FormattedField.hxx3
2 files changed, 0 insertions, 9 deletions
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