File bsc1088263.patch of Package libreoffice.openSUSE_Leap_42.3_Update
From 6b2e13edc9d09c3c698aeb0a858cd29f0de2dabf Mon Sep 17 00:00:00 2001
From: Justin Luth <justin.luth@collabora.com>
Date: Thu, 28 Jun 2018 21:21:29 +0300
Subject: [PATCH] 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 <justin_luth@sil.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit ae2fd281e046b2199ef44777b84518cd3abb2952)
Reviewed-on: https://gerrit.libreoffice.org/56725
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
(cherry picked from commit 58284e26fa604edc02b7598cb77a5b272c288320)
---
chart2/qa/extras/chart2export.cxx | 1 +
oox/source/export/chartexport.cxx | 2 ++
2 files changed, 3 insertions(+)
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);
--
2.13.7