summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2018-06-28 21:21:29 +0300
committerAndras Timar <andras.timar@collabora.com>2018-08-02 11:33:24 +0200
commitdcc385e559aea744cecaca96d8b0d17a788381aa (patch)
tree010cc4cb234149cc2681311116523543f0792e30 /chart2
parente130c53ceda7947b01b7d3b23ccea1a6260f6754 (diff)
tdf#115945 oox export: data label writeRunProperties
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/58468 Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'chart2')
-rwxr-xr-xchart2/qa/extras/chart2export.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index f7427b76e9b1..81dfa2551a76 100755
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -1595,6 +1595,7 @@ void Chart2ExportTest::testCustomDataLabel()
load("/chart2/qa/extras/data/pptx/", "tdf115107.pptx");
xmlDocPtr pXmlDoc = parseExport("ppt/charts/chart", "Impress MS PowerPoint 2007 XML");
CPPUNIT_ASSERT(pXmlDoc);
+ assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:dLbls/c:dLbl[1]/c:txPr/a:p/a:pPr/a:defRPr/a:solidFill/a:srgbClr", "val", "404040");
Reference<chart2::XChartDocument> xChartDoc(getChartDocFromDrawImpress(0, 0), uno::UNO_QUERY);
CPPUNIT_ASSERT(xChartDoc.is());