From c2b48a763df113e63e6a27ee05b9a6834e4e49a4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Oct 2016 15:06:27 +0200 Subject: loplugin:expandablemethodds in svx Change-Id: I45447b6f5cf7e17d6e81e8c931b07b26d41b9a8c Reviewed-on: https://gerrit.libreoffice.org/30057 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/uno/unoiface.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'svtools/source/uno') diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index d250fa12e235..f1df7df38195 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -1000,7 +1000,7 @@ css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) th { if (!bIsStandardSupplier) { // ansonsten void - css::uno::Reference< css::util::XNumberFormatsSupplier > xSupplier = getFormatsSupplier(); + css::uno::Reference< css::util::XNumberFormatsSupplier > xSupplier = m_xCurrentSupplier.get(); aReturn <<= xSupplier; } } @@ -1020,11 +1020,6 @@ css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) th return aReturn; } -css::uno::Reference< css::util::XNumberFormatsSupplier > SVTXFormattedField::getFormatsSupplier() const -{ - return m_xCurrentSupplier.get(); -} - css::uno::Any SVTXFormattedField::convertEffectiveValue(const css::uno::Any& rValue) { css::uno::Any aReturn; -- cgit