[Libreoffice-commits] core.git: configmgr/source

Noel Grandin noel at peralex.com
Wed Jul 15 02:34:20 PDT 2015


 configmgr/source/groupnode.cxx             |    4 ----
 configmgr/source/groupnode.hxx             |    2 --
 configmgr/source/localizedpropertynode.cxx |    4 ----
 configmgr/source/localizedpropertynode.hxx |    2 --
 configmgr/source/node.cxx                  |    2 --
 configmgr/source/node.hxx                  |    1 -
 configmgr/source/setnode.cxx               |    4 ----
 configmgr/source/setnode.hxx               |    2 --
 8 files changed, 21 deletions(-)

New commits:
commit 8d5f4717064da45476ca2cb79fe1f778d346b241
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Jul 14 15:42:46 2015 +0200

    loplugin:unusedmethods configmgr
    
    Change-Id: Ie0338860717630633752a39814057c736d1faee8
    Reviewed-on: https://gerrit.libreoffice.org/17059
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/configmgr/source/groupnode.cxx b/configmgr/source/groupnode.cxx
index dabade5..eab6542 100644
--- a/configmgr/source/groupnode.cxx
+++ b/configmgr/source/groupnode.cxx
@@ -71,10 +71,6 @@ Node::Kind GroupNode::kind() const {
     return KIND_GROUP;
 }
 
-void GroupNode::clear() {
-    members_.clear();
-}
-
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/groupnode.hxx b/configmgr/source/groupnode.hxx
index 227084b..77067c4 100644
--- a/configmgr/source/groupnode.hxx
+++ b/configmgr/source/groupnode.hxx
@@ -53,8 +53,6 @@ private:
 
     virtual Kind kind() const SAL_OVERRIDE;
 
-    virtual void clear() SAL_OVERRIDE;
-
     bool extensible_;
     NodeMap members_;
     OUString templateName_;
diff --git a/configmgr/source/localizedpropertynode.cxx b/configmgr/source/localizedpropertynode.cxx
index 3b55dcf..49837c4 100644
--- a/configmgr/source/localizedpropertynode.cxx
+++ b/configmgr/source/localizedpropertynode.cxx
@@ -59,10 +59,6 @@ Node::Kind LocalizedPropertyNode::kind() const {
     return KIND_LOCALIZED_PROPERTY;
 }
 
-void LocalizedPropertyNode::clear() {
-    members_.clear();
-}
-
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/localizedpropertynode.hxx b/configmgr/source/localizedpropertynode.hxx
index 7c6da7b..1fe322f 100644
--- a/configmgr/source/localizedpropertynode.hxx
+++ b/configmgr/source/localizedpropertynode.hxx
@@ -50,8 +50,6 @@ private:
 
     virtual Kind kind() const SAL_OVERRIDE;
 
-    virtual void clear() SAL_OVERRIDE;
-
     Type staticType_;
         // as specified in the component-schema (TYPE_ANY, ...,
         // TYPE_HEXBINARY_LIST; not TYPE_ERROR or TYPE_NIL)
diff --git a/configmgr/source/node.cxx b/configmgr/source/node.cxx
index 294ec0e..e476c9e 100644
--- a/configmgr/source/node.cxx
+++ b/configmgr/source/node.cxx
@@ -77,8 +77,6 @@ Node::Node(const Node & other):
 
 Node::~Node() {}
 
-void Node::clear() {}
-
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx
index 8bd000c..0a90463 100644
--- a/configmgr/source/node.hxx
+++ b/configmgr/source/node.hxx
@@ -58,7 +58,6 @@ protected:
     Node(const Node & other);
 
     virtual ~Node();
-    virtual void clear();
 
     int layer_;
     int finalized_;
diff --git a/configmgr/source/setnode.cxx b/configmgr/source/setnode.cxx
index ad259cc..b26188d 100644
--- a/configmgr/source/setnode.cxx
+++ b/configmgr/source/setnode.cxx
@@ -107,10 +107,6 @@ Node::Kind SetNode::kind() const {
     return KIND_SET;
 }
 
-void SetNode::clear() {
-    members_.clear();
-}
-
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/setnode.hxx b/configmgr/source/setnode.hxx
index 92774b3..59109d7 100644
--- a/configmgr/source/setnode.hxx
+++ b/configmgr/source/setnode.hxx
@@ -61,8 +61,6 @@ private:
 
     virtual Kind kind() const SAL_OVERRIDE;
 
-    virtual void clear() SAL_OVERRIDE;
-
     OUString defaultTemplateName_;
     std::vector< OUString > additionalTemplateNames_;
     NodeMap members_;


More information about the Libreoffice-commits mailing list