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 /xmloff | |
parent | Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest ... (diff) | |
download | core-1fe85161e45d2097e5c3f1e227920d91b8e5d6fe.tar.gz core-1fe85161e45d2097e5c3f1e227920d91b8e5d6fe.zip |
callcatcher: comphelper's unused code
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/attrlist.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/core/attrlist.cxx | 7 | ||||
-rw-r--r-- | xmloff/source/transform/MutableAttrList.hxx | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/xmloff/inc/xmloff/attrlist.hxx b/xmloff/inc/xmloff/attrlist.hxx index 33a2fcb8184b..00ff4a302ea3 100644 --- a/xmloff/inc/xmloff/attrlist.hxx +++ b/xmloff/inc/xmloff/attrlist.hxx @@ -79,7 +79,6 @@ public: void AddAttribute( const ::rtl::OUString &sName , const ::rtl::OUString &sValue ); void Clear(); void RemoveAttribute( const ::rtl::OUString sName ); - void SetAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & ); void AppendAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & ); void SetValueByIndex( sal_Int16 i, const ::rtl::OUString& rValue ); void RemoveAttributeByIndex( sal_Int16 i ); diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx index 9216f694bc6b..c717681c2046 100644 --- a/xmloff/source/core/attrlist.cxx +++ b/xmloff/source/core/attrlist.cxx @@ -189,13 +189,6 @@ void SvXMLAttributeList::RemoveAttribute( const OUString sName ) } } - -void SvXMLAttributeList::SetAttributeList( const uno::Reference< ::com::sun::star::xml::sax::XAttributeList > &r ) -{ - Clear(); - AppendAttributeList( r ); -} - void SvXMLAttributeList::AppendAttributeList( const uno::Reference< ::com::sun::star::xml::sax::XAttributeList > &r ) { OSL_ASSERT( r.is() ); diff --git a/xmloff/source/transform/MutableAttrList.hxx b/xmloff/source/transform/MutableAttrList.hxx index ae01037f6b75..1dbd084ac44c 100644 --- a/xmloff/source/transform/MutableAttrList.hxx +++ b/xmloff/source/transform/MutableAttrList.hxx @@ -78,7 +78,6 @@ public: // void Clear(); void RemoveAttributeByIndex( sal_Int16 i ); void RenameAttributeByIndex( sal_Int16 i, const ::rtl::OUString& rNewName ); -// void SetAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & ); void AppendAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & ); sal_Int16 GetIndexByName( const ::rtl::OUString& rName ) const; |