sc/source/filter/excel/xeescher.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 73714e30d144a0d01bc2550ca7a6884a0a92af22
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Fri Jan 13 20:04:53 2023 -0500
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Sat Jan 14 15:47:13 2023 +0000

    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 <jl...@mail.com>

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));
 

Reply via email to