You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2003/10/15 02:55:27 UTC
cvs commit: xml-xalan/c/src/xalanc/XSLT ResultTreeFrag.cpp ResultTreeFrag.hpp
dbertoni 2003/10/14 17:55:27
Modified: c/src/xalanc/XSLT ResultTreeFrag.cpp ResultTreeFrag.hpp
Log:
Removed unused member functions.
Revision Changes Path
1.3 +0 -33 xml-xalan/c/src/xalanc/XSLT/ResultTreeFrag.cpp
Index: ResultTreeFrag.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/ResultTreeFrag.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ResultTreeFrag.cpp 19 Sep 2003 20:33:04 -0000 1.2
+++ ResultTreeFrag.cpp 15 Oct 2003 00:55:27 -0000 1.3
@@ -110,39 +110,6 @@
-XalanNode*
-ResultTreeFrag::getNodesetRoot() const
-{
- if (m_documentFragment != 0)
- {
- return m_documentFragment;
- }
- else
- {
- // I hate to do this, but since all of the non-const
- // member functions will throw exceptions, I can live
- // with it.
-#if defined(XALAN_OLD_STYLE_CASTS)
- return (ResultTreeFrag*)this;
-#else
- return const_cast<ResultTreeFrag*>(this);
-#endif
- }
-}
-
-
-
-void
-ResultTreeFrag::clear()
-{
- if (m_documentFragment != 0)
- {
- m_documentFragment->clearChildren();
- }
-}
-
-
-
const XalanDOMString&
ResultTreeFrag::getNodeName() const
{
1.3 +0 -12 xml-xalan/c/src/xalanc/XSLT/ResultTreeFrag.hpp
Index: ResultTreeFrag.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/ResultTreeFrag.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ResultTreeFrag.hpp 19 Sep 2003 20:33:04 -0000 1.2
+++ ResultTreeFrag.hpp 15 Oct 2003 00:55:27 -0000 1.3
@@ -107,18 +107,6 @@
~ResultTreeFrag();
- // These interfaces are new...
-
- void
- clear();
-
-
- // These interfaces are inherited from ResultTreeFragBase...
-
- virtual XalanNode*
- getNodesetRoot() const;
-
-
// These interfaces are inherited from XalanDocumentFragment...
virtual const XalanDOMString&
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org