summaryrefslogtreecommitdiff
path: root/sax/source/expatwrap/attrlistimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/expatwrap/attrlistimpl.cxx')
-rw-r--r--sax/source/expatwrap/attrlistimpl.cxx33
1 files changed, 1 insertions, 32 deletions
diff --git a/sax/source/expatwrap/attrlistimpl.cxx b/sax/source/expatwrap/attrlistimpl.cxx
index 35a4f0919cb3..1ec1128516fd 100644
--- a/sax/source/expatwrap/attrlistimpl.cxx
+++ b/sax/source/expatwrap/attrlistimpl.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: attrlistimpl.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.10.1 $
*
* This file is part of OpenOffice.org.
*
@@ -175,35 +175,4 @@ void AttributeList::clear()
m_pImpl->vecAttribute.clear();
}
-void AttributeList::removeAttribute( const OUString &sName )
-{
- vector<struct TagAttribute>::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 Reference< XAttributeList > &r )
-{
- assert( r.is() );
-
- sal_Int16 nMax = r->getLength();
- clear();
- m_pImpl->vecAttribute.reserve( nMax );
-
- for( int i = 0 ; i < nMax ; i ++ ) {
- m_pImpl->vecAttribute.push_back(
- TagAttribute(
- r->getNameByIndex( static_cast<sal_Int16>(i) ) ,
- r->getTypeByIndex( static_cast<sal_Int16>(i) ) ,
- r->getValueByIndex( static_cast<sal_Int16>(i) ) ) );
- }
- assert( nMax == getLength() );
-}
-
}