From f2efc955200a8106110fb3fc0b720d0b901640e1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 26 Jun 2012 20:57:22 +0100 Subject: callcatcher: remove some unused code Change-Id: I6b512dd2b33e2c09fad2369bb299120fc35345b0 --- l10ntools/inc/xmlparse.hxx | 4 ---- l10ntools/source/xmlparse.cxx | 16 ---------------- 2 files changed, 20 deletions(-) (limited to 'l10ntools') 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 @@ -142,22 +142,6 @@ void XMLParentNode::AddChild( XMLChildNode *pChild ) pChildList->push_back( 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(){ /*****************************************************************************/ -- cgit v1.2.3