diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-03 15:39:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:01 +0200 |
commit | 2ebd79b3d214c62c0997606115ebc50700d6a760 (patch) | |
tree | dc2e6bb49d8089e507fe846406d10828af7330cb /include/svl | |
parent | 02cb0ba6b565597d6da23cbf211e959c448b3261 (diff) |
loplugin:constantfunction: svl
Change-Id: I6504e354cfb381cc00ea837f959e2e18e5fc596c
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/itemprop.hxx | 2 | ||||
-rw-r--r-- | include/svl/macitem.hxx | 2 | ||||
-rw-r--r-- | include/svl/numuno.hxx | 5 |
3 files changed, 1 insertions, 8 deletions
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index 05ee6e9d4a4f..6da36a306220 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -105,8 +105,6 @@ class SVL_DLLPUBLIC SfxItemPropertySet { SfxItemPropertyMap m_aMap; mutable com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfo> m_xInfo; -protected: - bool FillItem(SfxItemSet& rSet, sal_uInt16 nWhich, bool bGetProperty) const; public: SfxItemPropertySet( const SfxItemPropertyMapEntry *pMap ) : diff --git a/include/svl/macitem.hxx b/include/svl/macitem.hxx index cf130d465502..73d1edf1771c 100644 --- a/include/svl/macitem.hxx +++ b/include/svl/macitem.hxx @@ -94,7 +94,7 @@ public: SvStream& Read( SvStream &, sal_uInt16 nVersion = SVX_MACROTBL_AKTVERSION ); SvStream& Write( SvStream & ) const; - sal_uInt16 GetVersion() const { return SVX_MACROTBL_AKTVERSION; } + static sal_uInt16 GetVersion() { return SVX_MACROTBL_AKTVERSION; } SvxMacroTable::iterator begin() { return aSvxMacroTable.begin(); } SvxMacroTable::const_iterator begin() const { return aSvxMacroTable.begin(); } diff --git a/include/svl/numuno.hxx b/include/svl/numuno.hxx index d358f77b937c..57ad15d420db 100644 --- a/include/svl/numuno.hxx +++ b/include/svl/numuno.hxx @@ -62,11 +62,6 @@ public: void SetNumberFormatter(SvNumberFormatter* pNew); SvNumberFormatter* GetNumberFormatter() const; - // override to adapt attributes in the document - void NumberFormatDeleted(sal_uInt32 nKey); - // override to possibly format something anew - void SettingsChanged(); - // XNumberFormatsSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getNumberFormatSettings() |