summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authordante <dante19031999@gmail.com>2020-11-28 14:26:40 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-29 19:53:20 +0100
commitf28c8085d14f65aa40da434c1d9d5ae60bfad862 (patch)
treea94fd6bbd0e1dd7ef19dc6ad0024e19f36d8c440 /xmloff/source
parentb4534d1ea4c0d36f7e5220729c959d0ad148e352 (diff)
Preparing for mathml support of custom entity references.
This should be enough for the starmath mathml project. It can be reused from other modules for doing custom stuff. It keeps to minimum changes on generic modules. My current abilities don't allow me to go much beyond this approach. Change-Id: If7f157f8a71d6c3bff50fdbcd80bed23c92f40bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106804 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/core/xmlimp.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index c47ad94ceffa..e96e65072ead 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -545,6 +545,11 @@ void SAL_CALL SvXMLImport::setNamespaceHandler( const uno::Reference< xml::sax::
mxParser->setNamespaceHandler( Handler );
}
+void SAL_CALL SvXMLImport::setCustomEntityNames( const ::css::uno::Sequence< ::rtl::OUString >& names,
+ const ::css::uno::Sequence< ::rtl::OUString >& replacements )
+{
+ mxParser->setCustomEntityNames( names, replacements );
+}
void SAL_CALL SvXMLImport::startDocument()
{