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 | |
parent | 2371d13d3f03a11577492918a2dfcc9447283a43 (diff) |
callcatcher: remove some unused code
-rw-r--r-- | unotools/inc/unotools/confignode.hxx | 16 | ||||
-rw-r--r-- | unotools/source/config/confignode.cxx | 5 | ||||
-rwxr-xr-x | unusedcode.easy | 2 |
3 files changed, 1 insertions, 22 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!"); diff --git a/unusedcode.easy b/unusedcode.easy index 1d9bf464ebb0..7c230cff1d90 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -77,6 +77,7 @@ ScDPCache::ClearGroupFields() ScDPCache::GetGroupDimMemberValues(long) const ScDPCache::GetGroupFieldCount() const ScDPInitState::GetNameIdForIndex(long) const +ScDPItemData::ScDPItemData(double) ScDPItemData::SetGroupValue(int, int) ScDPLabelData::ScDPLabelData(rtl::OUString const&, short, bool) ScDPResultData::IsInGroup(ScDPItemData const&, long, long, long) const @@ -1037,5 +1038,4 @@ sw::util::AuthorInfos::Insert(sw::util::AuthorInfo* const*, unsigned short) sw::util::AuthorInfos::Insert(sw::util::AuthorInfos const*, unsigned short, unsigned short) sw::util::AuthorInfos::Remove(sw::util::AuthorInfo* const&, unsigned short) sw::util::AuthorInfos::Remove(unsigned short, unsigned short) -utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const vcl::PDFWriter::DrawPixel(Polygon const&, Color const*) |