summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/CppunitTest_sw_ww8export.mk1
-rw-r--r--sw/qa/extras/ww8export/data/tdf105570.doc (renamed from sw/qa/extras/ww8import/data/tdf105570.doc)bin29696 -> 29696 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf106291.doc (renamed from sw/qa/extras/ww8import/data/tdf106291.doc)bin24064 -> 24064 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf112346.doc (renamed from sw/qa/extras/ww8import/data/tdf112346.doc)bin27648 -> 27648 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf112535.doc (renamed from sw/qa/extras/ww8import/data/tdf112535.doc)bin19968 -> 19968 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf122425_2.doc (renamed from sw/qa/extras/ww8import/data/tdf122425_2.doc)bin41472 -> 41472 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf128605.doc (renamed from sw/qa/extras/ww8import/data/tdf128605.doc)bin22016 -> 22016 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf130262.doc (renamed from sw/qa/extras/ww8import/data/tdf130262.doc)bin36864 -> 36864 bytes
-rw-r--r--sw/qa/extras/ww8export/data/tdf79639.doc (renamed from sw/qa/extras/ww8import/data/tdf79639.doc)bin27648 -> 27648 bytes
-rw-r--r--sw/qa/extras/ww8export/data/transparent-text.doc (renamed from sw/qa/extras/ww8import/data/transparent-text.doc)bin33792 -> 33792 bytes
-rw-r--r--sw/qa/extras/ww8export/ww8export.cxx138
-rw-r--r--sw/qa/extras/ww8import/ww8import.cxx144
12 files changed, 144 insertions, 139 deletions
diff --git a/sw/CppunitTest_sw_ww8export.mk b/sw/CppunitTest_sw_ww8export.mk
index 0d79d53d9d57..beec46f3cc7f 100644
--- a/sw/CppunitTest_sw_ww8export.mk
+++ b/sw/CppunitTest_sw_ww8export.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_ww8export, \
comphelper \
cppu \
cppuhelper \
+ editeng \
emboleobj \
sal \
test \
diff --git a/sw/qa/extras/ww8import/data/tdf105570.doc b/sw/qa/extras/ww8export/data/tdf105570.doc
index 1bace7709f6a..1bace7709f6a 100644
--- a/sw/qa/extras/ww8import/data/tdf105570.doc
+++ b/sw/qa/extras/ww8export/data/tdf105570.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf106291.doc b/sw/qa/extras/ww8export/data/tdf106291.doc
index 893004d46118..893004d46118 100644
--- a/sw/qa/extras/ww8import/data/tdf106291.doc
+++ b/sw/qa/extras/ww8export/data/tdf106291.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf112346.doc b/sw/qa/extras/ww8export/data/tdf112346.doc
index af0cca219acf..af0cca219acf 100644
--- a/sw/qa/extras/ww8import/data/tdf112346.doc
+++ b/sw/qa/extras/ww8export/data/tdf112346.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf112535.doc b/sw/qa/extras/ww8export/data/tdf112535.doc
index 4eea19ecd54c..4eea19ecd54c 100644
--- a/sw/qa/extras/ww8import/data/tdf112535.doc
+++ b/sw/qa/extras/ww8export/data/tdf112535.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf122425_2.doc b/sw/qa/extras/ww8export/data/tdf122425_2.doc
index 8debcddc1690..8debcddc1690 100644
--- a/sw/qa/extras/ww8import/data/tdf122425_2.doc
+++ b/sw/qa/extras/ww8export/data/tdf122425_2.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf128605.doc b/sw/qa/extras/ww8export/data/tdf128605.doc
index 2bbfe6b73033..2bbfe6b73033 100644
--- a/sw/qa/extras/ww8import/data/tdf128605.doc
+++ b/sw/qa/extras/ww8export/data/tdf128605.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf130262.doc b/sw/qa/extras/ww8export/data/tdf130262.doc
index fb60beacd79d..fb60beacd79d 100644
--- a/sw/qa/extras/ww8import/data/tdf130262.doc
+++ b/sw/qa/extras/ww8export/data/tdf130262.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/tdf79639.doc b/sw/qa/extras/ww8export/data/tdf79639.doc
index 1a996b62b0dd..1a996b62b0dd 100644
--- a/sw/qa/extras/ww8import/data/tdf79639.doc
+++ b/sw/qa/extras/ww8export/data/tdf79639.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/data/transparent-text.doc b/sw/qa/extras/ww8export/data/transparent-text.doc
index b458db29cc09..b458db29cc09 100644
--- a/sw/qa/extras/ww8import/data/transparent-text.doc
+++ b/sw/qa/extras/ww8export/data/transparent-text.doc
Binary files differ
diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index a8e774e4dfce..68c464bc8759 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/text/XPageCursor.hpp>
#include <config_features.h>
+#include <editeng/ulspitem.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/request.hxx>
#include <comphelper/processfactory.hxx>
@@ -45,6 +46,8 @@
#include <swmodule.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
+#include <fmtsrnd.hxx>
+#include <frameformats.hxx>
#include <grfatr.hxx>
#include <pagedesc.hxx>
#include <ndgrf.hxx>
@@ -689,6 +692,141 @@ DECLARE_WW8EXPORT_TEST(testTdf102334, "tdf102334.doc")
CPPUNIT_ASSERT_EQUAL(true, getProperty<bool>(getRun(getParagraph(7), 1), "CharHidden"));
}
+DECLARE_WW8EXPORT_TEST(testTdf128605, "tdf128605.doc")
+{
+ OUString aPara1PageStyleName = getProperty<OUString>(getParagraph(1), "PageStyleName");
+ OUString aPara2PageStyleName = getProperty<OUString>(getParagraph(2), "PageStyleName");
+ // Without the accompanying fix in place, this test would have failed with:
+ // - Expected: Standard
+ // - Actual : Convert 1
+ // i.e. the continuous section break resulted in an unwanted page break.
+ CPPUNIT_ASSERT_EQUAL(aPara1PageStyleName, aPara2PageStyleName);
+}
+
+DECLARE_WW8EXPORT_TEST(testTdf112535, "tdf112535.doc")
+{
+ SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());
+ CPPUNIT_ASSERT(pTextDoc);
+
+ SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
+ CPPUNIT_ASSERT(pDoc->GetSpzFrameFormats());
+
+ SwFrameFormats& rFormats = *pDoc->GetSpzFrameFormats();
+ CPPUNIT_ASSERT(!rFormats.empty());
+
+ const SwFrameFormat* pFormat = rFormats[0];
+ CPPUNIT_ASSERT(pFormat);
+
+ // Without the accompanying fix in place, this test would have failed: auto-contour was enabled
+ // in Writer, but not in Word.
+ CPPUNIT_ASSERT(!pFormat->GetSurround().IsContour());
+}
+
+DECLARE_WW8EXPORT_TEST(testTdf106291, "tdf106291.doc")
+{
+ // Table cell was merged vertically instead of horizontally -> had incorrect dimensions
+ OUString cellWidth = parseDump("/root/page[1]/body/tab/row/cell[1]/infos/bounds", "width");
+ OUString cellHeight = parseDump("/root/page[1]/body/tab/row/cell[1]/infos/bounds", "height");
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(8650), cellWidth.toInt32());
+ CPPUNIT_ASSERT(cellHeight.toInt32() > 200); // height might depend on font size
+}
+
+DECLARE_WW8EXPORT_TEST(testTransparentText, "transparent-text.doc")
+{
+ uno::Reference<text::XText> xHeaderText = getProperty<uno::Reference<text::XText>>(
+ getStyles("PageStyles")->getByName("Standard"), "HeaderText");
+ uno::Reference<text::XTextRange> xParagraph = getParagraphOfText(3, xHeaderText);
+ // Without the accompanying fix in place, this test would have failed: transparency was set to
+ // 100%, so the text was not readable.
+ sal_Int32 nExpected(COL_BLACK);
+ sal_Int32 nActual(getProperty<sal_Int16>(xParagraph, "CharTransparence"));
+ CPPUNIT_ASSERT_EQUAL(nExpected, nActual);
+}
+
+DECLARE_WW8EXPORT_TEST( testTdf105570, "tdf105570.doc" )
+{
+ /*****
+ * MS-DOC specification ( https://msdn.microsoft.com/en-us/library/cc313153 )
+ * ch. 2.6.3, sprmTTableHeader:
+ * A Bool8 value that specifies that the current table row is a header row.
+ * If the value is 0x01 but sprmTTableHeader is not applied with a value of 0x01
+ * for a previous row in the same table, then this property MUST be ignored.
+ *
+ * The document have three tables with three rows.
+ * Table 1 has { 1, 0, 0 } values of the "repeat as header row" property for each row
+ * Table 2 has { 1, 1, 0 }
+ * Table 3 has { 0, 1, 1 }
+ ****/
+ SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
+ CPPUNIT_ASSERT(pTextDoc);
+ SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
+ SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
+ SwShellCursor* pShellCursor = pWrtShell->getShellCursor( false );
+ SwNodeIndex aIdx = pShellCursor->Start()->nNode;
+
+ // Find first table
+ SwTableNode* pTableNd = aIdx.GetNode().FindTableNode();
+
+ CPPUNIT_ASSERT_EQUAL( sal_uInt16(1), pTableNd->GetTable().GetRowsToRepeat() );
+
+ // Go to next table
+ aIdx.Assign( *pTableNd->EndOfSectionNode(), 1 );
+ while ( nullptr == (pTableNd = aIdx.GetNode().GetTableNode()) ) ++aIdx;
+
+ CPPUNIT_ASSERT_EQUAL( sal_uInt16(2), pTableNd->GetTable().GetRowsToRepeat() );
+
+ // Go to next table
+ aIdx.Assign( *pTableNd->EndOfSectionNode(), 1 );
+ while ( nullptr == (pTableNd = aIdx.GetNode().GetTableNode()) ) ++aIdx;
+
+ // As first row hasn't sprmTTableHeader set, all following must be ignored, so no rows must be repeated
+ CPPUNIT_ASSERT_EQUAL( sal_uInt16(0), pTableNd->GetTable().GetRowsToRepeat() );
+}
+
+DECLARE_WW8EXPORT_TEST(testTdf112346, "tdf112346.doc")
+{
+ // This was 1, multi-page table was imported as a floating one.
+ CPPUNIT_ASSERT_EQUAL(0, getShapes());
+}
+
+DECLARE_WW8EXPORT_TEST(testTdf79639, "tdf79639.doc")
+{
+ // Without the accompanying fix in place, this test would have failed with:
+ // - Expected: 1
+ // - Actual : 0
+ // as the floating table in the header wasn't converted to a TextFrame.
+ CPPUNIT_ASSERT_EQUAL(1, getShapes());
+}
+
+DECLARE_WW8EXPORT_TEST(testTdf122425_2, "tdf122425_2.doc")
+{
+ // This is for graphic objects in headers/footers
+ SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
+ CPPUNIT_ASSERT(pTextDoc);
+ SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
+ SwPosFlyFrames aPosFlyFrames = pDoc->GetAllFlyFormats(nullptr, false);
+ // There is one fly frame in the document: the text box
+ CPPUNIT_ASSERT_EQUAL(size_t(1), aPosFlyFrames.size());
+ for (const auto& rPosFlyFrame : aPosFlyFrames)
+ {
+ const SwFrameFormat& rFormat = rPosFlyFrame->GetFormat();
+ const SfxPoolItem* pItem = nullptr;
+
+ // Check for correct explicitly-set values of UL spacings. Previously this was "DEFAULT",
+ // and resulted in inherited values (114 = 2 mm) used.
+ CPPUNIT_ASSERT_EQUAL(SfxItemState::SET, rFormat.GetItemState(RES_UL_SPACE, false, &pItem));
+ auto pUL = static_cast<const SvxULSpaceItem*>(pItem);
+ CPPUNIT_ASSERT(pUL);
+ CPPUNIT_ASSERT_EQUAL(sal_uInt16(0), pUL->GetUpper());
+ CPPUNIT_ASSERT_EQUAL(sal_uInt16(0), pUL->GetLower());
+ }
+}
+
+DECLARE_WW8EXPORT_TEST(testTdf130262, "tdf130262.doc")
+{
+ // We had an infinite layout loop
+}
+
DECLARE_WW8EXPORT_TEST(testTdf38778, "tdf38778_properties_in_run_for_field.doc")
{
CPPUNIT_ASSERT_EQUAL(10.0f, getProperty<float>(getRun(getParagraph(1), 1), "CharHeight"));
diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx
index a703e08de6ae..9afe9cbb4cb4 100644
--- a/sw/qa/extras/ww8import/ww8import.cxx
+++ b/sw/qa/extras/ww8import/ww8import.cxx
@@ -23,12 +23,12 @@
#include <viscrs.hxx>
#include <wrtsh.hxx>
#include <ndgrf.hxx>
-#include <fmtsrnd.hxx>
-#include <frameformats.hxx>
#include <docsh.hxx>
#include <unotxdoc.hxx>
#include <IDocumentLayoutAccess.hxx>
+// tests should only be added to ww8IMPORT *if* they fail round-tripping in ww8EXPORT
+
class Test : public SwModelTestBase
{
public:
@@ -78,6 +78,7 @@ DECLARE_WW8IMPORT_TEST(testBnc875715, "bnc875715.doc")
// Was incorrectly set as -1270.
CPPUNIT_ASSERT_EQUAL(sal_Int32(0), getProperty<sal_Int32>(xSections->getByIndex(0), "SectionLeftMargin"));
}
+
DECLARE_WW8IMPORT_TEST(testFloatingTableSectionColumns, "floating-table-section-columns.doc")
{
OUString tableWidth = parseDump("/root/page[1]/body/section/column[2]/body/txt/anchored/fly/tab/infos/bounds", "width");
@@ -93,98 +94,7 @@ DECLARE_WW8IMPORT_TEST(testTdf124601, "tdf124601.doc")
CPPUNIT_ASSERT(getProperty<bool>(getShapeByName("Grafik 19"), "IsFollowingTextFlow"));
}
-DECLARE_WW8IMPORT_TEST(testTdf128605, "tdf128605.doc")
-{
- OUString aPara1PageStyleName = getProperty<OUString>(getParagraph(1), "PageStyleName");
- OUString aPara2PageStyleName = getProperty<OUString>(getParagraph(2), "PageStyleName");
- // Without the accompanying fix in place, this test would have failed with:
- // - Expected: Standard
- // - Actual : Convert 1
- // i.e. the continuous section break resulted in an unwanted page break.
- CPPUNIT_ASSERT_EQUAL(aPara1PageStyleName, aPara2PageStyleName);
-}
-
-DECLARE_WW8IMPORT_TEST(testTdf112535, "tdf112535.doc")
-{
- SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());
- CPPUNIT_ASSERT(pTextDoc);
-
- SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
- CPPUNIT_ASSERT(pDoc->GetSpzFrameFormats());
-
- SwFrameFormats& rFormats = *pDoc->GetSpzFrameFormats();
- CPPUNIT_ASSERT(!rFormats.empty());
-
- const SwFrameFormat* pFormat = rFormats[0];
- CPPUNIT_ASSERT(pFormat);
-
- // Without the accompanying fix in place, this test would have failed: auto-contour was enabled
- // in Writer, but not in Word.
- CPPUNIT_ASSERT(!pFormat->GetSurround().IsContour());
-}
-
-DECLARE_WW8EXPORT_TEST(testTdf106291, "tdf106291.doc")
-{
- // Table cell was merged vertically instead of horizontally -> had incorrect dimensions
- OUString cellWidth = parseDump("/root/page[1]/body/tab/row/cell[1]/infos/bounds", "width");
- OUString cellHeight = parseDump("/root/page[1]/body/tab/row/cell[1]/infos/bounds", "height");
- CPPUNIT_ASSERT_EQUAL(sal_Int32(8650), cellWidth.toInt32());
- CPPUNIT_ASSERT(cellHeight.toInt32() > 200); // height might depend on font size
-}
-
-DECLARE_WW8IMPORT_TEST(testTransparentText, "transparent-text.doc")
-{
- uno::Reference<text::XText> xHeaderText = getProperty<uno::Reference<text::XText>>(
- getStyles("PageStyles")->getByName("Standard"), "HeaderText");
- uno::Reference<text::XTextRange> xParagraph = getParagraphOfText(3, xHeaderText);
- // Without the accompanying fix in place, this test would have failed: transparency was set to
- // 100%, so the text was not readable.
- sal_Int32 nExpected(COL_BLACK);
- sal_Int32 nActual(getProperty<sal_Int16>(xParagraph, "CharTransparence"));
- CPPUNIT_ASSERT_EQUAL(nExpected, nActual);
-}
-
-DECLARE_WW8IMPORT_TEST( testTdf105570, "tdf105570.doc" )
-{
- /*****
- * MS-DOC specification ( https://msdn.microsoft.com/en-us/library/cc313153 )
- * ch. 2.6.3, sprmTTableHeader:
- * A Bool8 value that specifies that the current table row is a header row.
- * If the value is 0x01 but sprmTTableHeader is not applied with a value of 0x01
- * for a previous row in the same table, then this property MUST be ignored.
- *
- * The document have three tables with three rows.
- * Table 1 has { 1, 0, 0 } values of the "repeat as header row" property for each row
- * Table 2 has { 1, 1, 0 }
- * Table 3 has { 0, 1, 1 }
- ****/
- SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
- CPPUNIT_ASSERT(pTextDoc);
- SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
- SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
- SwShellCursor* pShellCursor = pWrtShell->getShellCursor( false );
- SwNodeIndex aIdx = pShellCursor->Start()->nNode;
-
- // Find first table
- SwTableNode* pTableNd = aIdx.GetNode().FindTableNode();
-
- CPPUNIT_ASSERT_EQUAL( sal_uInt16(1), pTableNd->GetTable().GetRowsToRepeat() );
-
- // Go to next table
- aIdx.Assign( *pTableNd->EndOfSectionNode(), 1 );
- while ( nullptr == (pTableNd = aIdx.GetNode().GetTableNode()) ) ++aIdx;
-
- CPPUNIT_ASSERT_EQUAL( sal_uInt16(2), pTableNd->GetTable().GetRowsToRepeat() );
-
- // Go to next table
- aIdx.Assign( *pTableNd->EndOfSectionNode(), 1 );
- while ( nullptr == (pTableNd = aIdx.GetNode().GetTableNode()) ) ++aIdx;
-
- // As first row hasn't sprmTTableHeader set, all following must be ignored, so no rows must be repeated
- CPPUNIT_ASSERT_EQUAL( sal_uInt16(0), pTableNd->GetTable().GetRowsToRepeat() );
-}
-
-DECLARE_OOXMLIMPORT_TEST(testImageLazyRead, "image-lazy-read.doc")
+DECLARE_WW8IMPORT_TEST(testImageLazyRead, "image-lazy-read.doc")
{
auto xGraphic = getProperty<uno::Reference<graphic::XGraphic>>(getShape(1), "Graphic");
Graphic aGraphic(xGraphic);
@@ -192,7 +102,7 @@ DECLARE_OOXMLIMPORT_TEST(testImageLazyRead, "image-lazy-read.doc")
CPPUNIT_ASSERT(!aGraphic.isAvailable());
}
-DECLARE_OOXMLIMPORT_TEST(testImageLazyRead0size, "image-lazy-read-0size.doc")
+DECLARE_WW8IMPORT_TEST(testImageLazyRead0size, "image-lazy-read-0size.doc")
{
// Load a document with a single bitmap in it: it's declared as a WMF one, but actually a TGA
// bitmap.
@@ -231,12 +141,6 @@ DECLARE_WW8IMPORT_TEST(testTdf106799, "tdf106799.doc")
}
}
-DECLARE_WW8IMPORT_TEST(testTdf112346, "tdf112346.doc")
-{
- // This was 1, multi-page table was imported as a floating one.
- CPPUNIT_ASSERT_EQUAL(0, getShapes());
-}
-
DECLARE_WW8IMPORT_TEST(testTdf121734, "tdf121734.doc")
{
SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
@@ -344,39 +248,6 @@ DECLARE_WW8IMPORT_TEST(testTdf122425_1, "tdf122425_1.doc")
}
}
-DECLARE_WW8IMPORT_TEST(testTdf79639, "tdf79639.doc")
-{
- // Without the accompanying fix in place, this test would have failed with:
- // - Expected: 1
- // - Actual : 0
- // as the floating table in the header wasn't converted to a TextFrame.
- CPPUNIT_ASSERT_EQUAL(1, getShapes());
-}
-
-DECLARE_WW8IMPORT_TEST(testTdf122425_2, "tdf122425_2.doc")
-{
- // This is for graphic objects in headers/footers
- SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
- CPPUNIT_ASSERT(pTextDoc);
- SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
- SwPosFlyFrames aPosFlyFrames = pDoc->GetAllFlyFormats(nullptr, false);
- // There is one fly frame in the document: the text box
- CPPUNIT_ASSERT_EQUAL(size_t(1), aPosFlyFrames.size());
- for (const auto& rPosFlyFrame : aPosFlyFrames)
- {
- const SwFrameFormat& rFormat = rPosFlyFrame->GetFormat();
- const SfxPoolItem* pItem = nullptr;
-
- // Check for correct explicitly-set values of UL spacings. Previously this was "DEFAULT",
- // and resulted in inherited values (114 = 2 mm) used.
- CPPUNIT_ASSERT_EQUAL(SfxItemState::SET, rFormat.GetItemState(RES_UL_SPACE, false, &pItem));
- auto pUL = static_cast<const SvxULSpaceItem*>(pItem);
- CPPUNIT_ASSERT(pUL);
- CPPUNIT_ASSERT_EQUAL(sal_uInt16(0), pUL->GetUpper());
- CPPUNIT_ASSERT_EQUAL(sal_uInt16(0), pUL->GetLower());
- }
-}
-
DECLARE_WW8IMPORT_TEST(testTdf110987, "tdf110987")
{
// The input document is an empty .doc, but without file name
@@ -388,11 +259,6 @@ DECLARE_WW8IMPORT_TEST(testTdf110987, "tdf110987")
CPPUNIT_ASSERT(sFilterName != "MS Word 97 Vorlage");
}
-DECLARE_WW8IMPORT_TEST(testTdf130262, "tdf130262.doc")
-{
- // We had an infinite layout loop
-}
-
// tests should only be added to ww8IMPORT *if* they fail round-tripping in ww8EXPORT
CPPUNIT_PLUGIN_IMPLEMENT();