summaryrefslogtreecommitdiff
path: root/filter/qa
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2021-02-17 13:21:07 +0100
committerMarco Cecchetti <marco.cecchetti@collabora.com>2021-03-09 15:36:09 +0100
commite3f62ee770afe34dceb467eb8ccda55eba0a2243 (patch)
treea9e5a0413806818ca9edec310677b399d0c86862 /filter/qa
parent66f88211d55c138da38c75a7b2c4d1695ce28f6a (diff)
filter: svg: export: renaming class attributes related to TextShape
TextShape => SVGTextShape com.sun.star.drawing.TextShape => TextShape Change-Id: I4bbb465e0f65aa328527ac3022c0b68546fb5db6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111224 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111846 Tested-by: Jenkins Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'filter/qa')
-rw-r--r--filter/qa/unit/svg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/qa/unit/svg.cxx b/filter/qa/unit/svg.cxx
index be11dc57c631..4c37dac61548 100644
--- a/filter/qa/unit/svg.cxx
+++ b/filter/qa/unit/svg.cxx
@@ -148,14 +148,14 @@ CPPUNIT_TEST_FIXTURE(SvgFilterTest, testSemiTransparentText)
xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream);
- // We expect 2 groups of class "com.sun.star.drawing.TextShape" that
+ // We expect 2 groups of class "TextShape" that
// have some svg:text node inside.
// Without the accompanying fix in place, this test would have failed with:
// - Expected: 2
// - Actual : 1
// i.e. the 2nd shape lots its text.
- assertXPath(pXmlDoc, "//svg:g[@class='com.sun.star.drawing.TextShape']//svg:text", 2);
+ assertXPath(pXmlDoc, "//svg:g[@class='TextShape']//svg:text", 2);
// First shape has semi-transparent text.
assertXPath(pXmlDoc, "//svg:text[1]/svg:tspan/svg:tspan/svg:tspan[@fill-opacity='0.8']");