summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-01-13 20:04:53 -0500
committerJustin Luth <jluth@mail.com>2023-01-14 15:47:13 +0000
commit73714e30d144a0d01bc2550ca7a6884a0a92af22 (patch)
tree2cd2cc9c2d3765d8cc99fc9c5a7ee1ad9a4df1e2 /sc/source
parent83f774d1f6a8405832be48326eca1c6e69ac7cc2 (diff)
tdf#117266 sc oox: export vml button with a correct label
This might also be an import problem with LO, but at least by exporting this inside of a font like it is supposed to be, LO then imports the caption OK. Identified by trial and error and repetition. Change-Id: I4b403a3c8392654fabbf00574cb837c92c7f6230 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145510 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/xeescher.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 1dbec73cd97e..0a139e820dca 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -1135,7 +1135,9 @@ void VmlFormControlExporter::EndShape(sal_Int32 nShapeElement)
pVmlDrawing->startElement(FSNS(XML_v, XML_textbox));
pVmlDrawing->startElement(XML_div);
+ pVmlDrawing->startElement(XML_font);
pVmlDrawing->write(m_aLabel);
+ pVmlDrawing->endElement(XML_font);
pVmlDrawing->endElement(XML_div);
pVmlDrawing->endElement(FSNS(XML_v, XML_textbox));