From 03bb8fb0af66a24c2b532d2fe6febb426c64f684 Mon Sep 17 00:00:00 2001
From: Brad Hards <bradh@frogmouth.net>
Date: Mon, 3 Jan 2011 12:12:25 +1100
Subject: Update QTextOdfWriter test case to match actual (correct) output

The ODF 1.1 Specification Section 15.5.11 shows the element names are tab-stops
and tab-stop (not style-tab-stops and style-tab-stop, which are just ref in the
schema).

Merge-request: 1012
Reviewed-by: Olivier Goffart
---
 tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp b/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp
index a463d86..eb0e384 100644
--- a/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp
+++ b/tests/auto/qtextodfwriter/tst_qtextodfwriter.cpp
@@ -208,10 +208,10 @@ void tst_QTextOdfWriter::testWriteStyle2()
     QString xml = QString::fromLatin1(
         "<style:style style:name=\"p1\" style:family=\"paragraph\">"
             "<style:paragraph-properties>"
-                "<style:style-tab-stops>"
-                    "<style:style-tab-stop style:position=\"30pt\" style:type=\"right\"/>"
-                    "<style:style-tab-stop style:position=\"60pt\" style:type=\"char\" style:char=\"o\"/>"
-                "</style:style-tab-stops>"
+                "<style:tab-stops>"
+                    "<style:tab-stop style:position=\"30pt\" style:type=\"right\"/>"
+                    "<style:tab-stop style:position=\"60pt\" style:type=\"char\" style:char=\"o\"/>"
+                "</style:tab-stops>"
             "</style:paragraph-properties>"
         "</style:style>");
     QCOMPARE(getContentFromXml(), xml);
-- 
cgit v0.12