diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:28:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:50:58 +0100 |
commit | 9007820dfba43475bc58ee8b0af9c7fd014999fb (patch) | |
tree | 8bd36b4db6e6f367df2eb267136c98909295b1a1 /include/editeng | |
parent | 45d9b1b57d72fa859bea399e8b383e460a12fb19 (diff) |
loplugin:staticmethods in editeng
Change-Id: Ib1a45e69736beb034c1e99e8e0fcb10aef9ffb70
Reviewed-on: https://gerrit.libreoffice.org/63405
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/adjustitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/charreliefitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/cmapitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/crossedoutitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/escapementitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/formatbreakitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/postitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/wghtitem.hxx | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/include/editeng/adjustitem.hxx b/include/editeng/adjustitem.hxx index beeb6bebdf9c..9d3eee25f460 100644 --- a/include/editeng/adjustitem.hxx +++ b/include/editeng/adjustitem.hxx @@ -63,7 +63,7 @@ public: MapUnit ePresMetric, OUString &rText, const IntlWrapper& ) const override; virtual sal_uInt16 GetValueCount() const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetEnumValue() const override; virtual void SetEnumValue( sal_uInt16 nNewVal ) override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; diff --git a/include/editeng/charreliefitem.hxx b/include/editeng/charreliefitem.hxx index fd6607070852..80f269feea1f 100644 --- a/include/editeng/charreliefitem.hxx +++ b/include/editeng/charreliefitem.hxx @@ -42,7 +42,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetValueCount() const override; virtual bool GetPresentation( SfxItemPresentation ePres, diff --git a/include/editeng/cmapitem.hxx b/include/editeng/cmapitem.hxx index dace57245fe2..411b9a7dab64 100644 --- a/include/editeng/cmapitem.hxx +++ b/include/editeng/cmapitem.hxx @@ -47,7 +47,7 @@ public: OUString &rText, const IntlWrapper& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetValueCount() const override; // enum cast diff --git a/include/editeng/crossedoutitem.hxx b/include/editeng/crossedoutitem.hxx index 834f4840fb15..8d524aef93ab 100644 --- a/include/editeng/crossedoutitem.hxx +++ b/include/editeng/crossedoutitem.hxx @@ -48,7 +48,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetValueCount() const override; 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; diff --git a/include/editeng/escapementitem.hxx b/include/editeng/escapementitem.hxx index 77c8eb1cb2b7..9d28946a8465 100644 --- a/include/editeng/escapementitem.hxx +++ b/include/editeng/escapementitem.hxx @@ -91,7 +91,7 @@ public: sal_uInt8 GetProportionalHeight() const { return nProp; } virtual sal_uInt16 GetValueCount() const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetEnumValue() const override; virtual void SetEnumValue( sal_uInt16 nNewVal ) override; }; diff --git a/include/editeng/formatbreakitem.hxx b/include/editeng/formatbreakitem.hxx index f26f516d72b9..6eb2e03b5264 100644 --- a/include/editeng/formatbreakitem.hxx +++ b/include/editeng/formatbreakitem.hxx @@ -52,7 +52,7 @@ public: MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper& ) const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SvStream& Store( SvStream& , sal_uInt16 nItemVersion ) const override; diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx index 2d19f544dcbc..82dac5275e2d 100644 --- a/include/editeng/postitem.hxx +++ b/include/editeng/postitem.hxx @@ -49,7 +49,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetValueCount() const override; virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx index 3ed7e54cdc1d..504650420841 100644 --- a/include/editeng/wghtitem.hxx +++ b/include/editeng/wghtitem.hxx @@ -49,7 +49,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual sal_uInt16 GetValueCount() const override; virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; |