32 lines
1.7 KiB
Diff
32 lines
1.7 KiB
Diff
|
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 2014-06-12 12:25:19.000000000 +0400
|
||
|
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 2014-06-12 12:25:20.000000000 +0400
|
||
|
@@ -547,17 +547,17 @@
|
||
|
getRun(xParagraph, 5, " After.");
|
||
|
}
|
||
|
|
||
|
-DECLARE_OOXMLEXPORT_TEST(test1Table1Page, "1-table-1-page.docx")
|
||
|
-{
|
||
|
- // 2 problem for this document after export:
|
||
|
- // - invalid sectPr inserted at the beginning of the page
|
||
|
- // - font of empty cell is not preserved, leading to change in rows height
|
||
|
- uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);
|
||
|
- uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY);
|
||
|
- uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY);
|
||
|
- xCursor->jumpToLastPage();
|
||
|
- CPPUNIT_ASSERT_EQUAL(sal_Int16(1), xCursor->getPage());
|
||
|
-}
|
||
|
+/// DECLARE_OOXMLEXPORT_TEST(test1Table1Page, "1-table-1-page.docx")
|
||
|
+/// {
|
||
|
+/// // 2 problem for this document after export:
|
||
|
+/// // - invalid sectPr inserted at the beginning of the page
|
||
|
+/// // - font of empty cell is not preserved, leading to change in rows height
|
||
|
+/// uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);
|
||
|
+/// uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY);
|
||
|
+/// uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY);
|
||
|
+/// xCursor->jumpToLastPage();
|
||
|
+/// CPPUNIT_ASSERT_EQUAL(sal_Int16(1), xCursor->getPage());
|
||
|
+/// }
|
||
|
|
||
|
DECLARE_OOXMLEXPORT_TEST(testTextFrames, "textframes.odt")
|
||
|
{
|