summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-26 20:57:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-27 16:44:05 +0100
commitf2efc955200a8106110fb3fc0b720d0b901640e1 (patch)
tree4aaf1485b2252492fb64c1ee35ac544676765219 /l10ntools
parent85524805bd730e31c1bfc2fd9e449e10e4e6bae1 (diff)
callcatcher: remove some unused code
Change-Id: I6b512dd2b33e2c09fad2369bb299120fc35345b0
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/xmlparse.hxx4
-rw-r--r--l10ntools/source/xmlparse.cxx16
2 files changed, 0 insertions, 20 deletions
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx
index eeb86193c0e5..0a70c3d87357 100644
--- a/l10ntools/inc/xmlparse.hxx
+++ b/l10ntools/inc/xmlparse.hxx
@@ -165,10 +165,6 @@ public:
XMLChildNode *pChild /// the new child
);
- void AddChild(
- XMLChildNode *pChild , size_t pos /// the new child
- );
-
void RemoveAndDeleteAllChildren();
};
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index bcad10416232..48e0d3f97512 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -143,22 +143,6 @@ void XMLParentNode::AddChild( XMLChildNode *pChild )
}
/*****************************************************************************/
-void XMLParentNode::AddChild( XMLChildNode *pChild , size_t pos )
-/*****************************************************************************/
-{
- if ( !pChildList )
- pChildList = new XMLChildNodeList();
- if ( pos < pChildList->size() )
- {
- XMLChildNodeList::iterator it = pChildList->begin();
- ::std::advance( it, pos );
- pChildList->insert( it, pChild );
- } else {
- pChildList->push_back( pChild );
- }
-}
-
-/*****************************************************************************/
void XMLParentNode::RemoveAndDeleteAllChildren(){
/*****************************************************************************/
if ( pChildList ) {