From 8c4c1abc9ffa7d9f893d4d16de61594ee090f10b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Nov 2018 08:54:39 +0200 Subject: loplugin:staticmethods in svx Change-Id: I94df3aa40fa79877ccebf1ed8709bd7cc47748d9 Reviewed-on: https://gerrit.libreoffice.org/63398 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/inc/sxcikitm.hxx | 2 +- svx/inc/sxmkitm.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/inc') diff --git a/svx/inc/sxcikitm.hxx b/svx/inc/sxcikitm.hxx index c651227806d4..03740ab7758c 100644 --- a/svx/inc/sxcikitm.hxx +++ b/svx/inc/sxcikitm.hxx @@ -36,7 +36,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/svx/inc/sxmkitm.hxx b/svx/inc/sxmkitm.hxx index 2d9eb52041d4..2eed2e61bef2 100644 --- a/svx/inc/sxmkitm.hxx +++ b/svx/inc/sxmkitm.hxx @@ -36,7 +36,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; -- cgit