diff options
Diffstat (limited to 'comphelper/source/xml/attributelist.cxx')
-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!" ); |