From 9f6dfd50cb03b6511d4f711d284e1b75783d0b8b Mon Sep 17 00:00:00 2001 From: dante Date: Sat, 19 Dec 2020 18:39:54 +0100 Subject: Improve handle of custom XML entities Since 7.1 hasn't been released yet there's still time to change it before having to be scared about backguards compatibility. This way: - It is more efficient than passing two arguments - On definition it is simpler since both are declarated on same point. So it is simpler to not loose sync between lists. - Code is less long. - Thanks to an idea proposed by Stephan Bergmann on other commit. Change-Id: I16305a304c98eb8d4e11507c7938002da546778b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108028 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- offapi/com/sun/star/xml/sax/XFastParser.idl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'offapi') diff --git a/offapi/com/sun/star/xml/sax/XFastParser.idl b/offapi/com/sun/star/xml/sax/XFastParser.idl index 9beefe4aa4d6..9d4439144b27 100644 --- a/offapi/com/sun/star/xml/sax/XFastParser.idl +++ b/offapi/com/sun/star/xml/sax/XFastParser.idl @@ -41,6 +41,8 @@ #include +#include + module com { module sun { module star { module xml { module sax { @@ -163,7 +165,7 @@ interface XFastParser: com::sun::star::uno::XInterface * Will allow to use customized entity references like ∞ . * @since LibreOffice 7.1 */ - void setCustomEntityNames( [in] sequence names, [in] sequence replacements); + void setCustomEntityNames( [in] sequence< beans::Pair > replacements); }; -- cgit