summaryrefslogtreecommitdiff
path: root/include/svx/svdlayer.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 10:58:54 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 12:16:23 +0200
commit139c2e8cbde7e176d184c46583d1b78ef851515a (patch)
tree1df9c43c20ceaf4a461d9291e7359ddfde129adb /include/svx/svdlayer.hxx
parent6cbf151fa91ce50f7b1582c6e502a4474ba54b8e (diff)
loplugin:unusedmethods unused return value in include/svx
Change-Id: I9a5e937905fd71ecbbf9cb215ff6cc2b7defc6f3
Diffstat (limited to 'include/svx/svdlayer.hxx')
-rw-r--r--include/svx/svdlayer.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx
index d412c13cbadf..48df21bf49fe 100644
--- a/include/svx/svdlayer.hxx
+++ b/include/svx/svdlayer.hxx
@@ -70,7 +70,6 @@ class SVX_DLLPUBLIC SdrLayer
public:
bool operator==(const SdrLayer& rCmpLayer) const;
- bool operator!=(const SdrLayer& rCmpLayer) const { return !operator==(rCmpLayer); }
void SetName(const OUString& rNewName);
const OUString& GetName() const { return maName; }
@@ -114,7 +113,6 @@ public:
~SdrLayerAdmin();
const SdrLayerAdmin& operator=(const SdrLayerAdmin& rSrcLayerAdmin);
bool operator==(const SdrLayerAdmin& rCmpLayerAdmin) const;
- bool operator!=(const SdrLayerAdmin& rCmpLayerAdmin) const { return !operator==(rCmpLayerAdmin); }
void SetParent(SdrLayerAdmin* pNewParent) { pParent=pNewParent; }
void SetModel(SdrModel* pNewModel);
void InsertLayer(SdrLayer* pLayer, sal_uInt16 nPos)
@@ -135,7 +133,7 @@ public:
SdrLayer* NewLayer(const OUString& rName, sal_uInt16 nPos=0xFFFF);
// New layer, name is retrieved from the resource
- SdrLayer* NewStandardLayer(sal_uInt16 nPos=0xFFFF);
+ void NewStandardLayer(sal_uInt16 nPos=0xFFFF);
// Iterate over all layers
sal_uInt16 GetLayerCount() const { return sal_uInt16(aLayer.size()); }