[ekiga/jp-opal-roster] Opal::Presentity: I see no need for that doc parameter!



commit 5221c21b0362f0fd1bcd6a96f541837fefdfa05c
Author: Julien Puydt <jpuydt free fr>
Date:   Fri Oct 25 22:23:33 2013 +0200

    Opal::Presentity: I see no need for that doc parameter!

 lib/engine/components/opal/opal-presentity.cpp |    2 --
 lib/engine/components/opal/opal-presentity.h   |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-presentity.cpp b/lib/engine/components/opal/opal-presentity.cpp
index 1ee6d19..a1e6b5c 100644
--- a/lib/engine/components/opal/opal-presentity.cpp
+++ b/lib/engine/components/opal/opal-presentity.cpp
@@ -99,11 +99,9 @@ Opal::Presentity::build_node (const std::string name,
 
 Opal::Presentity::Presentity (boost::weak_ptr<Opal::Cluster> cluster_,
                              boost::weak_ptr<Ekiga::PresenceCore> presence_core_,
-                             boost::shared_ptr<xmlDoc> doc_,
                              xmlNodePtr node_):
   cluster(cluster_),
   presence_core(presence_core_),
-  doc(doc_),
   node(node_),
   presence("unknown")
 {
diff --git a/lib/engine/components/opal/opal-presentity.h b/lib/engine/components/opal/opal-presentity.h
index 76f7326..604a394 100644
--- a/lib/engine/components/opal/opal-presentity.h
+++ b/lib/engine/components/opal/opal-presentity.h
@@ -66,7 +66,6 @@ namespace Opal
 
     Presentity (boost::weak_ptr<Opal::Cluster> cluster_,
                boost::weak_ptr<Ekiga::PresenceCore> presence_core_,
-               boost::shared_ptr<xmlDoc> doc_,
                xmlNodePtr node_);
 
     ~Presentity ();
@@ -128,7 +127,6 @@ namespace Opal
     // existing groups in the edit presentity form!
     boost::weak_ptr<Opal::Cluster> cluster;
     boost::weak_ptr<Ekiga::PresenceCore> presence_core;
-    boost::shared_ptr<xmlDoc> doc;
     xmlNodePtr node;
 
     std::string presence;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]