summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/xml
diff options
context:
space:
mode:
authordante <dante19031999@gmail.com>2020-12-19 18:39:54 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-26 08:21:58 +0100
commit9f6dfd50cb03b6511d4f711d284e1b75783d0b8b (patch)
treed40480227b9b07f574aa11ef26b53707f4bd6cb5 /offapi/com/sun/star/xml
parent86707f3595c282f80b5e09558a23b539446daca2 (diff)
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 <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'offapi/com/sun/star/xml')
-rw-r--r--offapi/com/sun/star/xml/sax/XFastParser.idl4
1 files changed, 3 insertions, 1 deletions
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 <com/sum/star/xml/sax/XFastNamespaceHandler.idl>
+#include <com/sun/star/beans/Pair.idl>
+
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 &infin; .
* @since LibreOffice 7.1
*/
- void setCustomEntityNames( [in] sequence<string> names, [in] sequence<string> replacements);
+ void setCustomEntityNames( [in] sequence< beans::Pair<string,string> > replacements);
};