summaryrefslogtreecommitdiff
path: root/sax/source/tools/fshelper.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-01-12 11:18:55 -0500
committerJustin Luth <jluth@mail.com>2023-01-15 02:09:06 +0000
commitd50eca2a30bdabdc1735c590d6ec1913c6dd22fd (patch)
treef8d8a738c60fa0c69954a9fbf684a2e7640d8740 /sax/source/tools/fshelper.cxx
parent37e3455a13ab5741104bf41d05a80e60a4612682 (diff)
tdf#117266 sc oox: export vml button with a correct name
Without a correctly formatted ID, LO was unable to import the shape into the spreadsheet. Now at least the button shows up and can be pressed. MS Word already showed the button before the patch, so nothing there has changed. That suggests that our problem may be more during import. This code path is also followed by DOC and DOCX formats, but they do completely different things with the results. This is super nasty code... Change-Id: I383736a7de9c3e94b427d5747e5949c0348dcecd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145509 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sax/source/tools/fshelper.cxx')
-rw-r--r--sax/source/tools/fshelper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sax/source/tools/fshelper.cxx b/sax/source/tools/fshelper.cxx
index fbf7f0672709..f5945d67a9c0 100644
--- a/sax/source/tools/fshelper.cxx
+++ b/sax/source/tools/fshelper.cxx
@@ -164,6 +164,10 @@ rtl::Reference<FastAttributeList> FastSerializerHelper::createAttrList()
return new FastAttributeList( nullptr );
}
+void FastSerializerHelper::setAllowXEscape(bool bSet)
+{
+ mpSerializer->setAllowXEscape(bSet);
+}
}