From 3940cf7d716f3e469f47d3c831a799e58edf2eb8 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 2 Nov 2020 12:26:26 +0200 Subject: drop the SvXMLExport::EndElement method.. in favour of just using the endFastElement() method Change-Id: Id95abb0b9e78bc44278c5e9e3cc8dee15185e2e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105175 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/xmlimport.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compilerplugins/clang/xmlimport.cxx') diff --git a/compilerplugins/clang/xmlimport.cxx b/compilerplugins/clang/xmlimport.cxx index 72645564a5d1..c82a8d960228 100644 --- a/compilerplugins/clang/xmlimport.cxx +++ b/compilerplugins/clang/xmlimport.cxx @@ -54,6 +54,10 @@ public: return false; if (loplugin::isSamePathname(fn, SRCDIR "/sc/source/filter/xml/xmlannoi.cxx")) return false; + // this class specifically wants to prevent some endFastElement processing happening in it's superclass + if (loplugin::isSamePathname(fn, SRCDIR + "/xmloff/source/text/XMLIndexBibliographySourceContext.cxx")) + return false; return true; } -- cgit