summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorJoren De Cuyper <jorendc@libreoffice.org>2015-05-10 19:06:32 +0200
committerJoren De Cuyper <jorendc@libreoffice.org>2015-05-10 19:04:51 +0000
commitc342295aa8269537494c603429abbec9259f997d (patch)
treee02bee229921ac3f3e72ea249bb0a8c9e5d771e4 /sw/qa
parentdc6dc631e25b6ad3de5018b9be03b129d40d7375 (diff)
Imagedata test: test fill-attributes are not written at all
Change-Id: Iac7e3a14753ee0e0c6d64bda270043462fa3f20a Reviewed-on: https://gerrit.libreoffice.org/15698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
index a14388de8cb6..224e546bb803 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
@@ -1115,8 +1115,8 @@ DECLARE_OOXMLEXPORT_TEST(NoFillAttrInImagedata, "NoFillAttrInImagedata.docx")
if (!pXmlDoc)
return;
- assertXPath(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "type", "");
- assertXPath(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "color2", "");
+ assertXPathNoAttribute(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "type");
+ assertXPathNoAttribute(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "color2");
}
DECLARE_OOXMLEXPORT_TEST(testBnc837302, "bnc837302.docx")