diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-03 19:20:02 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-06-04 16:05:05 +0000 |
commit | 123dc8f836afd108ea69804546116f17438a7861 (patch) | |
tree | b29948e273e4cec7a6c8118bb49c97b97d29fa6c | |
parent | c41f604ecf65550bcb456f8a635aa6d534e9452b (diff) |
sw: fix Win-x86@51-TDF build
I forgot that the paste() method in this suite is not available on
Windows on 4-4, just on 5-0 and newer.
Change-Id: I6b625c2c5af34e8c7d7a66dd138ce860fdf18a24
Reviewed-on: https://gerrit.libreoffice.org/16064
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index bfa13c53b2f1..66f04e7742c8 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -2274,20 +2274,24 @@ DECLARE_RTFIMPORT_TEST(testTdf91074, "tdf91074.rtf") DECLARE_RTFIMPORT_TEST(testTdf90260Nopar, "hello.rtf") { +#if !defined WNT uno::Reference<text::XTextDocument> xTextDocument(mxComponent, uno::UNO_QUERY); uno::Reference<text::XTextRange> xText(xTextDocument->getText(), uno::UNO_QUERY); uno::Reference<text::XTextRange> xEnd = xText->getEnd(); paste("tdf90260-nopar.rtf", xEnd); CPPUNIT_ASSERT_EQUAL(1, getParagraphs()); +#endif } DECLARE_RTFIMPORT_TEST(testTdf90260Par, "hello.rtf") { +#if !defined WNT uno::Reference<text::XTextDocument> xTextDocument(mxComponent, uno::UNO_QUERY); uno::Reference<text::XTextRange> xText(xTextDocument->getText(), uno::UNO_QUERY); uno::Reference<text::XTextRange> xEnd = xText->getEnd(); paste("tdf90260-par.rtf", xEnd); CPPUNIT_ASSERT_EQUAL(2, getParagraphs()); +#endif } DECLARE_RTFIMPORT_TEST(testTdf86814, "tdf86814.rtf") |