[glom/glom-1-20] Document_XML: Remove an unimplemented method.



commit 84976ac5e0b68c5bcfa5de26745b849b1a61d57b
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Dec 23 13:14:24 2011 +0100

    Document_XML: Remove an unimplemented method.
    
    * glom/libglom/document/bakery/document_xml.h:
    add_indenting_white_space() was never implemented or
    used.

 ChangeLog                                   |    8 ++++++++
 glom/libglom/document/bakery/document_xml.h |   12 +++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f01e0a2..42790e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-12-23  Murray Cumming  <murrayc murrayc com>
+
+	Document_XML: Remove an unimplemented method.
+
+	* glom/libglom/document/bakery/document_xml.h:
+	add_indenting_white_space() was never implemented or 
+	used.
+
 1.20.3:
 
 2011-12-21  Murray Cumming  <murrayc murrayc com>
diff --git a/glom/libglom/document/bakery/document_xml.h b/glom/libglom/document/bakery/document_xml.h
index 0dda1cb..ada74e9 100644
--- a/glom/libglom/document/bakery/document_xml.h
+++ b/glom/libglom/document/bakery/document_xml.h
@@ -51,13 +51,6 @@ public:
   void set_dtd_root_node_name(const Glib::ustring& strVal, const Glib::ustring& xmlns = Glib::ustring());
   
   Glib::ustring get_dtd_root_node_name() const;
-
-  /** Put each node on its own line and add white space for indenting,
-   * even if there are child text nodes.
-   * set_write_formatted() does not cause nodes to be indented if there are child text nodes,
-   * because it assumes that the white space is then significant.
-   */
-  void add_indenting_white_space();
   
   Glib::ustring get_xml() const; //Get the text for the XML.
 
@@ -73,6 +66,11 @@ protected:
 
   void Util_DOM_Write(Glib::ustring& refstrXML) const;
 
+  /** Put each node on its own line and add white space for indenting,
+   * even if there are child text nodes.
+   * set_write_formatted() does not cause nodes to be indented if there are child text nodes,
+   * because it assumes that the white space is then significant.
+   */
   void add_indenting_white_space_to_node(xmlpp::Node* node = 0, const Glib::ustring& start_indent = Glib::ustring());
 
   typedef GlomBakery::Document type_base;



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