Hi!
sry didn't attach file :$
This is my first patch, I hope everything's correct.
Removed functions: (used unusedcode.easy)
MSFilterTracer::SetProperty(rtl::OUString const&, com::sun::star::uno::Any const&)
MSFilterTracer::StartElement(rtl::OUString
const&,
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>)
Files modified:
filter/inc/filter/msfilter/msfiltertracer.hxx
filter/source/msfilter/msfiltertracer.cxx
From e6c5331e5f55f847052588afbbcca1e41b3b2ca0 Mon Sep 17 00:00:00 2001
From: Szabolcs Dezsi <dezsiszabi@hotmail.com>
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, 0 insertions(+), 13 deletions(-)
diff --git a/filter/inc/filter/msfilter/msfiltertracer.hxx
b/filter/inc/filter/msfilter/msfiltertracer.hxx
index 66d20d6..e8fd049 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 51b40d0..c54ec6c 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: */
--
1.7.7
Context
- [PATCH] Removed unused code from MSFilterTracer · Dézsi Szabolcs
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.