diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 22:31:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:42:06 +0100 |
commit | ac1530a37e4544378c22c9358e57ca8a596c1aa8 (patch) | |
tree | b9380514932038897631b6e9f7e509c4fc7f8129 /xmloff | |
parent | regenerate list (diff) | |
download | core-ac1530a37e4544378c22c9358e57ca8a596c1aa8.tar.gz core-ac1530a37e4544378c22c9358e57ca8a596c1aa8.zip |
callcatcher: yet more unused code
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmlaustp.hxx | 10 | ||||
-rw-r--r-- | xmloff/source/style/xmlaustp.cxx | 49 |
2 files changed, 0 insertions, 59 deletions
diff --git a/xmloff/inc/xmloff/xmlaustp.hxx b/xmloff/inc/xmloff/xmlaustp.hxx index 1eb26a766e90..ba7783476d94 100644 --- a/xmloff/inc/xmloff/xmlaustp.hxx +++ b/xmloff/inc/xmloff/xmlaustp.hxx @@ -76,7 +76,6 @@ public: SvXMLAutoStylePoolP( SvXMLExport& rExport); - SvXMLAutoStylePoolP(); virtual ~SvXMLAutoStylePoolP(); SvXMLExport& GetExport() const; @@ -107,7 +106,6 @@ public: /// Add an item set to the pool and return its generated name. ::rtl::OUString Add( sal_Int32 nFamily, const ::std::vector< XMLPropertyState >& rProperties ); ::rtl::OUString Add( sal_Int32 nFamily, const ::rtl::OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties, bool bDontSeek = false ); - sal_Bool Add( ::rtl::OUString& rName, sal_Int32 nFamily, const ::std::vector< XMLPropertyState >& rProperties ); sal_Bool Add( ::rtl::OUString& rName, sal_Int32 nFamily, const ::rtl::OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ); /// Add an item set with a pre-defined name (needed for saving sheets separately in Calc). @@ -115,16 +113,8 @@ public: const ::std::vector< XMLPropertyState >& rProperties ); /// Find an item set's name. - ::rtl::OUString Find( sal_Int32 nFamily, const ::std::vector< XMLPropertyState >& rProperties ) const; ::rtl::OUString Find( sal_Int32 nFamily, const ::rtl::OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ) const; - // Add a property set to the pool and cache its name. - ::rtl::OUString AddAndCache( sal_Int32 nFamily, const ::std::vector< XMLPropertyState >& rProperties ); - ::rtl::OUString AddAndCache( sal_Int32 nFamily, const ::rtl::OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ); - ::rtl::OUString AddAndCache( sal_Int32 nFamily, const ::rtl::OUString& rParent ); - - ::rtl::OUString FindAndRemoveCached( sal_Int32 nFamily ) const; - /** Export all item sets ofs a certain class in the order in that they have been added. */ void exportXML( sal_Int32 nFamily , const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler, diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx index 669a4a169531..7f6efeb92e56 100644 --- a/xmloff/source/style/xmlaustp.cxx +++ b/xmloff/source/style/xmlaustp.cxx @@ -277,12 +277,6 @@ void SvXMLAutoStylePoolP::exportStyleContent( } } -SvXMLAutoStylePoolP::SvXMLAutoStylePoolP() -{ - OSL_FAIL("This constuctor is obsoleted and should not be used!"); - pImpl = NULL; -} - SvXMLAutoStylePoolP::SvXMLAutoStylePoolP( SvXMLExport& rExport ) { pImpl = new SvXMLAutoStylePoolP_Impl( rExport ); @@ -366,12 +360,6 @@ OUString SvXMLAutoStylePoolP::Add( sal_Int32 nFamily, return sName; } -sal_Bool SvXMLAutoStylePoolP::Add(OUString& rName, sal_Int32 nFamily, const ::std::vector< XMLPropertyState >& rProperties ) -{ - OUString sEmpty; - return pImpl->Add(rName, nFamily, sEmpty, rProperties); -} - sal_Bool SvXMLAutoStylePoolP::Add(OUString& rName, sal_Int32 nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ) { return pImpl->Add(rName, nFamily, rParent, rProperties); @@ -384,37 +372,6 @@ sal_Bool SvXMLAutoStylePoolP::AddNamed( const OUString& rName, sal_Int32 nFamily return pImpl->AddNamed(rName, nFamily, rParent, rProperties); } -OUString SvXMLAutoStylePoolP::AddAndCache( sal_Int32 nFamily, - const vector< XMLPropertyState >& rProperties ) -{ - OUString sEmpty; - OUString sName; - pImpl->Add(sName, nFamily, sEmpty, rProperties, sal_True ); - return sName; -} - -OUString SvXMLAutoStylePoolP::AddAndCache( sal_Int32 nFamily, - const OUString& rParent, - const vector< XMLPropertyState >& rProperties ) -{ - OUString sName; - pImpl->Add(sName, nFamily, rParent, rProperties, sal_True ); - return sName; -} - -OUString SvXMLAutoStylePoolP::AddAndCache( sal_Int32 nFamily, - const OUString& rParent ) -{ - return pImpl->AddToCache( nFamily, rParent ); -} - -OUString SvXMLAutoStylePoolP::Find( sal_Int32 nFamily, - const vector< XMLPropertyState >& rProperties ) const -{ - OUString sEmpty; - return pImpl->Find( nFamily, sEmpty, rProperties ); -} - OUString SvXMLAutoStylePoolP::Find( sal_Int32 nFamily, const OUString& rParent, const vector< XMLPropertyState >& rProperties ) const @@ -422,12 +379,6 @@ OUString SvXMLAutoStylePoolP::Find( sal_Int32 nFamily, return pImpl->Find( nFamily, rParent, rProperties ); } -OUString SvXMLAutoStylePoolP::FindAndRemoveCached( sal_Int32 nFamily ) const -{ - return pImpl->FindAndRemoveCached( nFamily ); -} - - void SvXMLAutoStylePoolP::exportXML( sal_Int32 nFamily, const uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > &, const SvXMLUnitConverter&, |