loplugin:virtualdead unused param in XMLEventContextFactory::CreateContext
Change-Id: I6fda2e04724d69fd218ffc85f9881b429714e63b Reviewed-on: https://gerrit.libreoffice.org/81154 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -220,9 +220,6 @@ include/vcl/treelist.hxx:304
|
|||||||
include/xmloff/txtimp.hxx:677
|
include/xmloff/txtimp.hxx:677
|
||||||
void XMLTextImportHelper::RedlineAdjustStartNodeCursor(_Bool,)
|
void XMLTextImportHelper::RedlineAdjustStartNodeCursor(_Bool,)
|
||||||
0
|
0
|
||||||
include/xmloff/xmlevent.hxx:129
|
|
||||||
class SvXMLImportContext * XMLEventContextFactory::CreateContext(class SvXMLImport &,unsigned short,const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::xml::sax::XAttributeList> &,class XMLEventsImportContext *,const class rtl::OUString &,const class rtl::OUString &,)
|
|
||||||
1111110
|
|
||||||
include/xmloff/xmlimp.hxx:244
|
include/xmloff/xmlimp.hxx:244
|
||||||
class SvXMLImportContext * SvXMLImport::CreateDocumentContext(const unsigned short,const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::xml::sax::XAttributeList> &,)
|
class SvXMLImportContext * SvXMLImport::CreateDocumentContext(const unsigned short,const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::xml::sax::XAttributeList> &,)
|
||||||
110
|
110
|
||||||
|
@@ -134,9 +134,7 @@ public:
|
|||||||
/// the context for the enclosing <script:events> element
|
/// the context for the enclosing <script:events> element
|
||||||
XMLEventsImportContext* rEvents,
|
XMLEventsImportContext* rEvents,
|
||||||
/// the event name (as understood by the API)
|
/// the event name (as understood by the API)
|
||||||
const OUString& rApiEventName,
|
const OUString& rApiEventName) = 0;
|
||||||
/// the event type name (as registered)
|
|
||||||
const OUString& rApiLanguage) = 0;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -45,9 +45,7 @@ public:
|
|||||||
/// the context for the enclosing <script:events> element
|
/// the context for the enclosing <script:events> element
|
||||||
XMLEventsImportContext * rEvents,
|
XMLEventsImportContext * rEvents,
|
||||||
/// the event name (as understood by the API)
|
/// the event name (as understood by the API)
|
||||||
const OUString & rApiEventName,
|
const OUString & rApiEventName) override;
|
||||||
/// the event type name (as registered)
|
|
||||||
const OUString & rLanguage) override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INCLUDED_XMLOFF_INC_XMLSCRIPTCONTEXTFACTORY_HXX
|
#endif // INCLUDED_XMLOFF_INC_XMLSCRIPTCONTEXTFACTORY_HXX
|
||||||
|
@@ -45,9 +45,7 @@ public:
|
|||||||
/// the context for the enclosing <script:events> element
|
/// the context for the enclosing <script:events> element
|
||||||
XMLEventsImportContext* rEvents,
|
XMLEventsImportContext* rEvents,
|
||||||
/// the event name (as understood by the API)
|
/// the event name (as understood by the API)
|
||||||
const OUString& rApiEventName,
|
const OUString& rApiEventName) override;
|
||||||
/// the event type name (as registered)
|
|
||||||
const OUString& rLanguage) override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -133,7 +133,7 @@ SvXMLImportContext* XMLEventImportHelper::CreateContext(
|
|||||||
// delegate to factory
|
// delegate to factory
|
||||||
pContext = aFactoryIterator->second->CreateContext(
|
pContext = aFactoryIterator->second->CreateContext(
|
||||||
rImport, nPrefix, rLocalName, xAttrList,
|
rImport, nPrefix, rLocalName, xAttrList,
|
||||||
rEvents, aNameIter->second, aScriptLanguage);
|
rEvents, aNameIter->second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -50,8 +50,7 @@ SvXMLImportContext * XMLScriptContextFactory::CreateContext
|
|||||||
const OUString & rLocalName,
|
const OUString & rLocalName,
|
||||||
const Reference<XAttributeList> & xAttrList,
|
const Reference<XAttributeList> & xAttrList,
|
||||||
XMLEventsImportContext * rEvents,
|
XMLEventsImportContext * rEvents,
|
||||||
const OUString & rApiEventName,
|
const OUString & rApiEventName)
|
||||||
const OUString & /*rApiLanguage*/)
|
|
||||||
{
|
{
|
||||||
OUString sURLVal;
|
OUString sURLVal;
|
||||||
|
|
||||||
|
@@ -52,8 +52,7 @@ SvXMLImportContext* XMLStarBasicContextFactory::CreateContext(
|
|||||||
const OUString& rLocalName,
|
const OUString& rLocalName,
|
||||||
const Reference<XAttributeList> & xAttrList,
|
const Reference<XAttributeList> & xAttrList,
|
||||||
XMLEventsImportContext* rEvents,
|
XMLEventsImportContext* rEvents,
|
||||||
const OUString& rApiEventName,
|
const OUString& rApiEventName)
|
||||||
const OUString& /*rApiLanguage*/)
|
|
||||||
{
|
{
|
||||||
OUString sLibraryVal;
|
OUString sLibraryVal;
|
||||||
OUString sMacroNameVal;
|
OUString sMacroNameVal;
|
||||||
|
Reference in New Issue
Block a user