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



commit bde9c1fe9d8d1ddea3738cd390b4e7fc46db7fad
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]