diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-11 14:46:57 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-11 14:48:08 +0200 |
commit | 7dc6c9af4ba313f054331f5130470d83d875bc16 (patch) | |
tree | d56347abc422f29115bdd61e451b38f086978e82 | |
parent | 75381109025694628d9c95a0391a38e1ab7f2938 (diff) |
CppunitTest_sw_rtfexport: enable on Windows
Change-Id: I232f13e8294ff1039519f943c3380f114f6821be
-rw-r--r-- | sw/qa/extras/rtfexport/rtfexport.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index f0071cda9e07..954dc2fac3ab 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -8,8 +8,6 @@ #include <swmodeltestbase.hxx> -#if !defined(WNT) - #include <com/sun/star/awt/Gradient.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> @@ -161,10 +159,10 @@ DECLARE_RTFEXPORT_TEST(testFdo38244, "fdo38244.rtf") DECLARE_RTFEXPORT_TEST(testCommentsNested, "comments-nested.odt") { uno::Reference<beans::XPropertySet> xOuter(getProperty< uno::Reference<beans::XPropertySet> >(getRun(getParagraph(1), 2), "TextField"), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(OUString("Outer"), getProperty<OUString>(xOuter, "Content")); + CPPUNIT_ASSERT_EQUAL(OUString("Outer"), getProperty<OUString>(xOuter, "Content").trim()); uno::Reference<beans::XPropertySet> xInner(getProperty< uno::Reference<beans::XPropertySet> >(getRun(getParagraph(1), 4), "TextField"), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(OUString("Inner"), getProperty<OUString>(xInner, "Content")); + CPPUNIT_ASSERT_EQUAL(OUString("Inner"), getProperty<OUString>(xInner, "Content").trim()); } DECLARE_RTFEXPORT_TEST(testMathAccents, "math-accents.rtf") @@ -698,8 +696,6 @@ DECLARE_RTFEXPORT_TEST(testNumberingFont, "numbering-font.rtf") CPPUNIT_ASSERT_EQUAL(OUString("Verdana"), getProperty<OUString>(xStyle, "CharFontName")); } -#endif - CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |