summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-29 09:07:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-29 23:42:26 +0000
commit309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch)
treef8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /include/svl
parent20deac4903fc0697477e855feeff482b3da234f9 (diff)
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/cintitem.hxx24
-rw-r--r--include/svl/instrm.hxx4
-rw-r--r--include/svl/intitem.hxx6
-rw-r--r--include/svl/style.hxx5
4 files changed, 0 insertions, 39 deletions
diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx
index 29c9795818e2..710e5e43e897 100644
--- a/include/svl/cintitem.hxx
+++ b/include/svl/cintitem.hxx
@@ -63,12 +63,6 @@ public:
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
- sal_uInt8 GetMin() const;
-
- sal_uInt8 GetMax() const;
-
- SfxFieldUnit GetUnit() const;
-
sal_uInt8 GetValue() const { return m_nValue; }
inline void SetValue(sal_uInt8 nTheValue);
@@ -122,12 +116,6 @@ public:
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
- sal_uInt16 GetMin() const;
-
- sal_uInt16 GetMax() const;
-
- SfxFieldUnit GetUnit() const;
-
sal_uInt16 GetValue() const { return m_nValue; }
inline void SetValue(sal_uInt16 nTheValue);
@@ -181,12 +169,6 @@ public:
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
- sal_Int32 GetMin() const;
-
- sal_Int32 GetMax() const;
-
- SfxFieldUnit GetUnit() const;
-
sal_Int32 GetValue() const { return m_nValue; }
inline void SetValue(sal_Int32 nTheValue);
@@ -240,12 +222,6 @@ public:
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
- sal_uInt32 GetMin() const;
-
- sal_uInt32 GetMax() const;
-
- SfxFieldUnit GetUnit() const;
-
sal_uInt32 GetValue() const { return m_nValue; }
inline void SetValue(sal_uInt32 nTheValue);
diff --git a/include/svl/instrm.hxx b/include/svl/instrm.hxx
index 6c4e4fb60d36..210c0eedc47d 100644
--- a/include/svl/instrm.hxx
+++ b/include/svl/instrm.hxx
@@ -60,10 +60,6 @@ public:
rTheStream);
virtual ~SvInputStream();
-
- void AddMark(sal_uLong nPos);
-
- void RemoveMark(sal_uLong nPos);
};
#endif // INCLUDED_SVL_INSTRM_HXX
diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx
index 70879b31d1fd..12536c4c9de7 100644
--- a/include/svl/intitem.hxx
+++ b/include/svl/intitem.hxx
@@ -80,12 +80,6 @@ public:
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
- sal_Int16 GetMin() const;
-
- sal_Int16 GetMax() const;
-
- SfxFieldUnit GetUnit() const;
-
sal_Int16 GetValue() const { return m_nValue; }
inline void SetValue(sal_Int16 nTheValue);
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index 75bef0d2875a..82091f14705c 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -116,9 +116,6 @@ public:
If the display name is empty, this method returns the internal name. */
OUString GetDisplayName() const;
- // sets the display name of this style
- void SetDisplayName( const OUString& );
-
virtual const OUString& GetParent() const;
virtual bool SetParent( const OUString& );
virtual const OUString& GetFollow() const;
@@ -146,7 +143,6 @@ public:
virtual void SetHelpId( const OUString& r, sal_uLong nId );
virtual SfxItemSet& GetItemSet();
- sal_uInt16 GetVersion() const;
};
/* Class to iterate and search on a SfxStyleSheetBasePool */
@@ -304,7 +300,6 @@ class SVL_DLLPUBLIC SfxStyleSheetPool: public SfxStyleSheetBasePool
protected:
using SfxStyleSheetBasePool::Create;
virtual SfxStyleSheetBase* Create(const OUString&, SfxStyleFamily, sal_uInt16 mask) SAL_OVERRIDE;
- SfxStyleSheetBase* Create(const SfxStyleSheet &);
public:
SfxStyleSheetPool( SfxItemPool const& );