diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-10 20:36:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-12 11:43:49 +0000 |
commit | a43bd907062a3925c12b3ba3909bf974e9f2914b (patch) | |
tree | 8fc4a7a83ffbb109bb95c6770b65ccd5e7fcf540 /unotools | |
parent | 2371d13d3f03a11577492918a2dfcc9447283a43 (diff) |
callcatcher: remove some unused code
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/confignode.hxx | 16 | ||||
-rw-r--r-- | unotools/source/config/confignode.cxx | 5 |
2 files changed, 0 insertions, 21 deletions
diff --git a/unotools/inc/unotools/confignode.hxx b/unotools/inc/unotools/confignode.hxx index f1567a6137e6..3ed478beb658 100644 --- a/unotools/inc/unotools/confignode.hxx +++ b/unotools/inc/unotools/confignode.hxx @@ -126,22 +126,6 @@ namespace utl return createNode( ::rtl::OUString::createFromAscii( _pAsciiName ) ); } - /** appends a node under a new name - - If the object represents a set node, this method may be used to create a new child. For non-set-nodes, the - method will fail.<br/> - Unless the respective operations on the pure configuration API, the to-be-created node immediately - becomes a part of it's hierarchy, no explicit insertion is necessary. - @param _rName name for the new child. Must be level-1-depth. - @param _aNewNode the node which should be appended - */ - OConfigurationNode appendNode(const ::rtl::OUString& _rName,const OConfigurationNode& _aNewNode) const throw(); - - OConfigurationNode appendNode( const sal_Char* _pAsciiName, const OConfigurationNode& _aNewNode ) const - { - return appendNode( ::rtl::OUString::createFromAscii( _pAsciiName ), _aNewNode ); - } - /** remove an existent child nod If the object represents a set node, this method may be used to delete an existent child. For non-set-nodes, diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index 12c6ad0a687b..68f6e92704df 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -297,11 +297,6 @@ namespace utl } //------------------------------------------------------------------------ - OConfigurationNode OConfigurationNode::appendNode(const ::rtl::OUString& _rName,const OConfigurationNode& _aNewNode) const throw() - { - return insertNode(_rName,_aNewNode.m_xDirectAccess); - } - //------------------------------------------------------------------------ OConfigurationNode OConfigurationNode::openNode(const ::rtl::OUString& _rPath) const throw() { OSL_ENSURE(m_xDirectAccess.is(), "OConfigurationNode::openNode: object is invalid!"); |