summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorPriyankaGaikwad <priyanka.gaikwad@synerzip.com>2015-04-28 18:09:50 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-30 03:05:01 +0000
commit0d341d28f73603670e3b8c639c583229d3c723a6 (patch)
tree49cbbb3957b42ed800e4de2bbf127cbfe6939158 /oox
parent0cd88d27ecd87c8c5791418bcac6ab1684ece74a (diff)
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 <a:rPr lang="en-IN" sz="1800" b="1" i="1" u="sng"/> Roundtrip <a:rPr b="1" i="1" lang="en-IN" strike="noStrike" u="sng"> Change-Id: I7955f89a8db9c18c11546f4c60aa130a0be14bb5 Reviewed-on: https://gerrit.libreoffice.org/15565 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
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 ),