diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:23:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 07:26:27 +0100 |
commit | a2751c0795cdac9d78f8919aab319a418b6e0bbc (patch) | |
tree | 1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /cui | |
parent | a04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff) |
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755
Reviewed-on: https://gerrit.libreoffice.org/63434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/SignatureLineDialogBase.hxx | 4 | ||||
-rw-r--r-- | cui/source/options/cfgchart.hxx | 2 | ||||
-rw-r--r-- | cui/source/options/optchart.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/inc/SignatureLineDialogBase.hxx b/cui/source/inc/SignatureLineDialogBase.hxx index 2701be29035c..2e046d945d80 100644 --- a/cui/source/inc/SignatureLineDialogBase.hxx +++ b/cui/source/inc/SignatureLineDialogBase.hxx @@ -24,9 +24,9 @@ public: protected: css::uno::Reference<css::frame::XModel> m_xModel; - OUString getSignatureImage(); + static OUString getSignatureImage(); virtual void Apply() = 0; - OUString getCDataString(const OUString& rString); + static OUString getCDataString(const OUString& rString); }; #endif diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx index eba4a7fda42e..91adbf17cda3 100644 --- a/cui/source/options/cfgchart.hxx +++ b/cui/source/options/cfgchart.hxx @@ -43,7 +43,7 @@ public: void remove( size_t _nIndex ); void replace( size_t _nIndex, const XColorEntry & _rEntry ); void useDefault(); - OUString getDefaultName(size_t _nIndex); + static OUString getDefaultName(size_t _nIndex); // comparison bool operator==( const SvxChartColorTable & _rOther ) const; diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 3fd6630afeaf..420b94f3f573 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -267,7 +267,7 @@ IMPL_LINK_NOARG(SvxDefaultColorOptPage, AddChartColor, Button*, void) { Color const black( 0x00, 0x00, 0x00 ); - pColorConfig->GetColorList().append (XColorEntry ( black, pColorConfig->GetColorList().getDefaultName(pColorConfig->GetColorList().size()))); + pColorConfig->GetColorList().append (XColorEntry ( black, SvxChartColorTable::getDefaultName(pColorConfig->GetColorList().size()))); FillBoxChartColorLB(); |