Removed SetProperty and StartElement method of MSFilterTracer.

This commit is contained in:
Szabolcs Dezsi 2012-02-16 11:06:56 +01:00 committed by Caolán McNamara
parent c55d050400
commit 4f582dcef0
2 changed files with 0 additions and 13 deletions

View file

@ -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

View file

@ -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: */