summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-07-25 12:49:15 +0200
committerAndras Timar <andras.timar@collabora.com>2019-07-30 16:48:06 +0200
commit4fe32e65cc56cec959af811a9a99348e764e4966 (patch)
tree062f414376f456801e5566894b36ed28a15afb84 /sw
parentee1900a01c61e656de5b3c14446b9513cf83c7fc (diff)
tdf#126524 Use shorter default name for unnamed data series
Change-Id: I2c67a50c36f6b09dc15d70ec44b95d47792b33e2 Reviewed-on: https://gerrit.libreoffice.org/76298 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/layout/layout.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index eec90ca933b8..84728d8e2254 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -2230,17 +2230,14 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf75659)
xmlDocPtr pXmlDoc = dumpAndParse(dumper, *xMetaFile);
CPPUNIT_ASSERT(pXmlDoc);
- assertXPathContent(pXmlDoc,
- "/metafile/push[1]/push[1]/push[1]/push[4]/push[1]/textarray[17]/text",
- "Unnamed Series 1");
+ assertXPathContent(
+ pXmlDoc, "/metafile/push[1]/push[1]/push[1]/push[4]/push[1]/textarray[17]/text", "Series1");
- assertXPathContent(pXmlDoc,
- "/metafile/push[1]/push[1]/push[1]/push[4]/push[1]/textarray[18]/text",
- "Unnamed Series 2");
+ assertXPathContent(
+ pXmlDoc, "/metafile/push[1]/push[1]/push[1]/push[4]/push[1]/textarray[18]/text", "Series2");
- assertXPathContent(pXmlDoc,
- "/metafile/push[1]/push[1]/push[1]/push[4]/push[1]/textarray[19]/text",
- "Unnamed Series 3");
+ assertXPathContent(
+ pXmlDoc, "/metafile/push[1]/push[1]/push[1]/push[4]/push[1]/textarray[19]/text", "Series3");
// These failed, if the legend names are empty strings.
}