From dcc385e559aea744cecaca96d8b0d17a788381aa Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Thu, 28 Jun 2018 21:21:29 +0300 Subject: tdf#115945 oox export: data label writeRunProperties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DataLabel font was always returning to the default - black. Change-Id: I6c72a8daa699394b36f69fc54e0ba042f0255c18 Reviewed-on: https://gerrit.libreoffice.org/56616 Tested-by: Jenkins Reviewed-by: Justin Luth Reviewed-by: Szymon Kłos (cherry picked from commit ae2fd281e046b2199ef44777b84518cd3abb2952) Reviewed-on: https://gerrit.libreoffice.org/58468 Reviewed-by: Andras Timar Reviewed-by: Andras Timar Tested-by: Andras Timar --- oox/source/export/chartexport.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'oox/source') diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index ab6049702cde..bd33471c9dad 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -3144,10 +3144,12 @@ void ChartExport::exportDataLabels( // Individual label property that overwrites the baseline. pFS->startElement(FSNS(XML_c, XML_dLbl), FSEND); pFS->singleElement(FSNS(XML_c, XML_idx), XML_val, I32S(nIdx), FSEND); + exportTextProps( xPropSet ); writeLabelProperties(pFS, this, xLabelPropSet, aParam); pFS->endElement(FSNS(XML_c, XML_dLbl)); } + exportTextProps( xPropSet ); // Baseline label properties for all labels. writeLabelProperties(pFS, this, xPropSet, aParam); -- cgit