m_xExtHandler is unused

ever since it was added in
commit eb4b36c6e7
Date:   Tue Jul 13 08:00:42 2004 +0000
INTEGRATION: CWS oasis (1.1.2); FILE ADDED

Change-Id: If4375c6e57dbe635f53ca0395cb7bdc02de81b18
This commit is contained in:
Noel Grandin
2017-07-20 09:16:41 +02:00
parent 039d9b97b7
commit bd5a91f5a3
3 changed files with 2 additions and 15 deletions

View File

@@ -1926,5 +1926,3 @@ xmloff/inc/SchXMLImport.hxx:154
SchXMLImport mxStatusIndicator css::uno::Reference<css::task::XStatusIndicator>
xmloff/source/core/xmlexp.cxx:251
SvXMLExport_Impl maSaveOptions class SvtSaveOptions
xmloff/source/transform/TransformerBase.hxx:58
XMLTransformerBase m_xExtHandler css::uno::Reference<css::xml::sax::XExtendedDocumentHandler>

View File

@@ -360,32 +360,22 @@ void SAL_CALL XMLTransformerBase::setDocumentLocator( const Reference< XLocator
// XExtendedDocumentHandler
void SAL_CALL XMLTransformerBase::startCDATA()
{
if( m_xExtHandler.is() )
m_xExtHandler->startCDATA();
}
void SAL_CALL XMLTransformerBase::endCDATA()
{
if( m_xExtHandler.is() )
m_xExtHandler->endCDATA();
}
void SAL_CALL XMLTransformerBase::comment( const OUString& rComment )
void SAL_CALL XMLTransformerBase::comment( const OUString& /*rComment*/ )
{
if( m_xExtHandler.is() )
m_xExtHandler->comment( rComment );
}
void SAL_CALL XMLTransformerBase::allowLineBreak()
{
if( m_xExtHandler.is() )
m_xExtHandler->allowLineBreak();
}
void SAL_CALL XMLTransformerBase::unknown( const OUString& rString )
void SAL_CALL XMLTransformerBase::unknown( const OUString& /*rString*/ )
{
if( m_xExtHandler.is() )
m_xExtHandler->unknown( rString );
}
// XInitialize

View File

@@ -55,7 +55,6 @@ class XMLTransformerBase : public XMLTransformer
css::uno::Reference< css::xml::sax::XLocator > m_xLocator;
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xHandler; // the handlers
css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > m_xExtHandler;
css::uno::Reference< css::beans::XPropertySet > m_xPropSet;
css::uno::Reference< css::i18n::XCharacterClassification > xCharClass;