diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-10-03 00:47:44 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-10-03 16:11:11 +0200 |
commit | 1fe85161e45d2097e5c3f1e227920d91b8e5d6fe (patch) | |
tree | 2844b2e0c69ad627ad3a0d3bf189ac9c834c2fc7 /comphelper/source/xml | |
parent | 84e2f8ff43f2b59cd93a7df9ededdffa8bb87ef5 (diff) |
callcatcher: comphelper's unused code
Diffstat (limited to 'comphelper/source/xml')
-rw-r--r-- | comphelper/source/xml/attributelist.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx index 2442fd69f106..696d6a4d7d19 100644 --- a/comphelper/source/xml/attributelist.cxx +++ b/comphelper/source/xml/attributelist.cxx @@ -140,25 +140,6 @@ void AttributeList::Clear() OSL_ENSURE( ! getLength(), "Length > 0 after AttributeList::Clear!"); } -void AttributeList::RemoveAttribute( const OUString sName ) -{ - ::std::vector<struct TagAttribute_Impl>::iterator ii = m_pImpl->vecAttribute.begin(); - - for( ; ii != m_pImpl->vecAttribute.end() ; ++ii ) { - if( (*ii).sName == sName ) { - m_pImpl->vecAttribute.erase( ii ); - break; - } - } -} - - -void AttributeList::SetAttributeList( const uno::Reference< ::com::sun::star::xml::sax::XAttributeList > &r ) -{ - Clear(); - AppendAttributeList( r ); -} - void AttributeList::AppendAttributeList( const uno::Reference< ::com::sun::star::xml::sax::XAttributeList > &r ) { OSL_ENSURE( r.is(), "r isn't!" ); |