From 0d341d28f73603670e3b8c639c583229d3c723a6 Mon Sep 17 00:00:00 2001 From: PriyankaGaikwad Date: Tue, 28 Apr 2015 18:09:50 +0530 Subject: tdf#90908 : FILESAVE: XLSX wrong export of font size 18 After roundtrip is font size changed from 18 to 11 Current behavior: The 'sz' tag was not exported Expected behaviour: After RT 'sz' tag should export with value 18 XML Difference : Original Roundtrip Change-Id: I7955f89a8db9c18c11546f4c60aa130a0be14bb5 Reviewed-on: https://gerrit.libreoffice.org/15565 Tested-by: Markus Mohrhard Reviewed-by: Markus Mohrhard --- oox/source/export/drawingml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 4f0621dd79d0..e8673d2d920f 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1322,7 +1322,7 @@ void DrawingML::WriteRunProperties( Reference< XPropertySet > rRun, bool bIsFiel XML_b, bold, XML_i, italic, XML_lang, usLanguage.isEmpty() ? NULL : USS( usLanguage ), - XML_sz, nSize == 1800 ? NULL : IS( nSize ), + XML_sz, IS( nSize ), XML_strike, strikeout, XML_u, underline, XML_baseline, nCharEscapement == 0 ? NULL : IS( nCharEscapement*1000 ), -- cgit