From 4f582dcef035c1ccdc8ec00bc8c2560bfd49064b Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Thu, 16 Feb 2012 11:06:56 +0100 Subject: [PATCH] Removed SetProperty and StartElement method of MSFilterTracer. --- filter/inc/filter/msfilter/msfiltertracer.hxx | 2 -- filter/source/msfilter/msfiltertracer.cxx | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/filter/inc/filter/msfilter/msfiltertracer.hxx b/filter/inc/filter/msfilter/msfiltertracer.hxx index 66d20d6f5f55..e8fd0490c979 100644 --- a/filter/inc/filter/msfilter/msfiltertracer.hxx +++ b/filter/inc/filter/msfilter/msfiltertracer.hxx @@ -80,7 +80,6 @@ class MSFILTER_DLLPUBLIC MSFilterTracer inline sal_Bool IsEnabled() const { return mbEnabled; } - void StartElement( const ::rtl::OUString& rName, ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > xAttribs ); void EndElement( const ::rtl::OUString& rName ); void Trace( const ::rtl::OUString& rElementID, const ::rtl::OUString& rMessage ); @@ -91,7 +90,6 @@ class MSFILTER_DLLPUBLIC MSFilterTracer /* initially all properties of the configuration file and the properties which are given to the c'tor can be retrieved */ ::com::sun::star::uno::Any GetProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any* pDefault = NULL ) const; - void SetProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rProperty ); }; #endif diff --git a/filter/source/msfilter/msfiltertracer.cxx b/filter/source/msfilter/msfiltertracer.cxx index 51b40d04479f..c54ec6ce2d1d 100644 --- a/filter/source/msfilter/msfiltertracer.cxx +++ b/filter/source/msfilter/msfiltertracer.cxx @@ -174,12 +174,6 @@ void MSFilterTracer::EndTracing() mbEnabled = sal_False; } -void MSFilterTracer::StartElement( const rtl::OUString& rName, uno::Reference< xml::sax::XAttributeList > xAttribs ) -{ - if ( mxHandler.is() ) - mxHandler->startElement( rName, xAttribs ); -} - void MSFilterTracer::Trace( const rtl::OUString& rElement, const rtl::OUString& rMessage ) { if ( mbEnabled && mxLogger.is() ) @@ -233,9 +227,4 @@ uno::Any MSFilterTracer::GetProperty( const rtl::OUString& rPropName, const uno: return mpCfgItem->ReadAny( rPropName, aDefault ); } -void MSFilterTracer::SetProperty( const ::rtl::OUString& rPropName, const uno::Any& rProperty ) -{ - mpCfgItem->WriteAny( rPropName, rProperty ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */