summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-17 13:08:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-20 06:33:44 +0000
commit9f4f237a3834e5d58a87296424db5428f68d1550 (patch)
tree9e3e2fa55dc1a4d673d4c12e2af297bf32140204 /include/svl
parentfcdddbd30a8b5cf6a5cc4d2ff28b7d4a20f8ec6b (diff)
loplugin:unusedmethods svl
Change-Id: If86cc43fda4d138cf7f678d81fa2b35f68f3c03b Reviewed-on: https://gerrit.libreoffice.org/17162 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/cintitem.hxx12
-rw-r--r--include/svl/ctypeitm.hxx2
-rw-r--r--include/svl/custritm.hxx2
-rw-r--r--include/svl/documentlockfile.hxx3
-rw-r--r--include/svl/eitem.hxx3
-rw-r--r--include/svl/int64item.hxx2
-rw-r--r--include/svl/intitem.hxx3
-rw-r--r--include/svl/poolitem.hxx1
-rw-r--r--include/svl/style.hxx3
-rw-r--r--include/svl/visitem.hxx3
10 files changed, 0 insertions, 34 deletions
diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx
index 710e5e43e897..022b3c236bae 100644
--- a/include/svl/cintitem.hxx
+++ b/include/svl/cintitem.hxx
@@ -42,9 +42,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
@@ -95,9 +92,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
@@ -148,9 +142,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
@@ -201,9 +192,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
diff --git a/include/svl/ctypeitm.hxx b/include/svl/ctypeitm.hxx
index 11a4e97f8129..83ca3e404de2 100644
--- a/include/svl/ctypeitm.hxx
+++ b/include/svl/ctypeitm.hxx
@@ -49,8 +49,6 @@ public:
void SetValue( const OUString& rNewVal );
- using SfxPoolItem::Compare;
-
virtual bool GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/include/svl/custritm.hxx b/include/svl/custritm.hxx
index e8e321caf1e5..ab2b23ea13b2 100644
--- a/include/svl/custritm.hxx
+++ b/include/svl/custritm.hxx
@@ -46,8 +46,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
diff --git a/include/svl/documentlockfile.hxx b/include/svl/documentlockfile.hxx
index 944999450281..23403c85dbcd 100644
--- a/include/svl/documentlockfile.hxx
+++ b/include/svl/documentlockfile.hxx
@@ -50,9 +50,6 @@ public:
bool OverwriteOwnLockFile();
void RemoveFile();
- // the methods allow to control whether UI interaction regarding the locked document file is allowed
- // this is a workaround for automated tests
- static void AllowInteraction( bool bAllow ) { m_bAllowInteraction = bAllow; }
static bool IsInteractionAllowed() { return m_bAllowInteraction; }
};
diff --git a/include/svl/eitem.hxx b/include/svl/eitem.hxx
index d01ce77a3367..add2a5f87ce3 100644
--- a/include/svl/eitem.hxx
+++ b/include/svl/eitem.hxx
@@ -88,9 +88,6 @@ public:
// SfxPoolItem
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
diff --git a/include/svl/int64item.hxx b/include/svl/int64item.hxx
index 45e6a8aabd76..662b8e8f7768 100644
--- a/include/svl/int64item.hxx
+++ b/include/svl/int64item.hxx
@@ -26,8 +26,6 @@ public:
virtual bool operator== ( const SfxPoolItem& rItem ) const SAL_OVERRIDE;
- virtual int Compare( const SfxPoolItem& r ) const SAL_OVERRIDE;
-
virtual bool GetPresentation(
SfxItemPresentation, SfxMapUnit, SfxMapUnit,
OUString& rText, const IntlWrapper* pIntlWrapper = NULL ) const SAL_OVERRIDE;
diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx
index 12536c4c9de7..546084b7fbbc 100644
--- a/include/svl/intitem.hxx
+++ b/include/svl/intitem.hxx
@@ -59,9 +59,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 06c7f7f6d323..57e9749c93d4 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -169,7 +169,6 @@ public:
virtual bool operator==( const SfxPoolItem& ) const = 0;
bool operator!=( const SfxPoolItem& rItem ) const
{ return !(*this == rItem); }
- virtual int Compare( const SfxPoolItem &rWith ) const;
/** @return true if it has a valid string representation */
virtual bool GetPresentation( SfxItemPresentation ePresentation,
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index 43849dd4977c..dafa95ecf30b 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -75,7 +75,6 @@ class SVL_DLLPUBLIC SfxStyleSheetBase : public comphelper::OWeakTypeObject
{
private:
friend class SfxStyleSheetBasePool;
- SVL_DLLPRIVATE static SfxStyleSheetBasePool& implGetStaticPool();
protected:
SfxStyleSheetBasePool* pPool; // related pool
@@ -218,8 +217,6 @@ public:
SfxStyleSheetBasePool( SfxItemPool& );
SfxStyleSheetBasePool( const SfxStyleSheetBasePool& );
- const OUString& GetAppName() const { return aAppName; }
-
SfxItemPool& GetPool() { return rPool;}
const SfxItemPool& GetPool() const { return rPool;}
diff --git a/include/svl/visitem.hxx b/include/svl/visitem.hxx
index 109b631f93fc..cceef2925629 100644
--- a/include/svl/visitem.hxx
+++ b/include/svl/visitem.hxx
@@ -47,9 +47,6 @@ public:
virtual bool operator ==(const SfxPoolItem & rItem) const SAL_OVERRIDE;
- using SfxPoolItem::Compare;
- virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
-
virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,