diff options
Diffstat (limited to 'xmloff/qa/unit/draw.cxx')
-rw-r--r-- | xmloff/qa/unit/draw.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/qa/unit/draw.cxx b/xmloff/qa/unit/draw.cxx index ac0801dce72b..481561ff062a 100644 --- a/xmloff/qa/unit/draw.cxx +++ b/xmloff/qa/unit/draw.cxx @@ -234,6 +234,12 @@ CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testReferToTheme) "75%"); assertXPathNoAttribute(pXmlDoc, "//style:style[@style:name='T3']/style:text-properties", "color-lum-off"); + + // Without the accompanying fix in place, this test would have failed with: + // - XPath '//style:style[@style:name='gr2']/style:graphic-properties' no attribute 'fill-theme-color' exist + // i.e. only the direct color was written, but not the theme reference. + assertXPath(pXmlDoc, "//style:style[@style:name='gr2']/style:graphic-properties", + "fill-theme-color", "accent1"); } CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testTableInShape) |