summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-02-04 19:19:30 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-02-04 19:20:04 +0100
commit36b58cc7855a5b8e63e064f9315034fe2fc1e175 (patch)
tree78951ce41e821706fe2ea053a5810f9807e92806
parent39679b253d09a0137f2ffa822794e43cce2117c2 (diff)
avoid -Werror=unused-variable
Change-Id: I5002ca7411d0d9f85b95af864d5cf3dcd201c34c
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 70b63e251495..1fafe8052c05 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -441,15 +441,15 @@ DECLARE_OOXMLEXPORT_TEST(testDrawingmlFlipv, "drawingml-flipv.docx")
DECLARE_OOXMLEXPORT_TEST(testRot90Fliph, "rot90-fliph.docx")
{
+#if 0
// The problem was that a shape rotation of 90° got turned into 270° after roundtrip.
if (xmlDocPtr pXmlDoc = parseExport("word/document.xml"))
{
-#if 0
assertXPath(pXmlDoc, "//a:xfrm", "flipH", "1");
// This was 16200000 (270 * 60000).
assertXPath(pXmlDoc, "//a:xfrm", "rot", "5400000");
-#endif
}
+#endif
}
DECLARE_OOXMLEXPORT_TEST(testRot180Flipv, "rot180-flipv.docx")