[Libreoffice-commits] .: sdext/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 11 01:04:37 PDT 2012


 sdext/source/pdfimport/test/tests.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit d66dfba86d998cc92caa442931120092ac7eaec1
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Sep 11 10:02:59 2012 +0200

    Revert "Temporary workaround for failing XPDF tests"
    
    This tests were failing with system poppler 0.20.0. They are
    OK with internal xpdf.
    
    This reverts commit a9b7c8ba65d74d7ee5fef2750ae9e81945b9e1e3.

diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx
index 9593d0a..4be6541 100644
--- a/sdext/source/pdfimport/test/tests.cxx
+++ b/sdext/source/pdfimport/test/tests.cxx
@@ -121,14 +121,12 @@ namespace
             CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE( "A4 page size (in 100th of points): Height" , m_aPageSize.Height, 59500, 0.0000001 );
             CPPUNIT_ASSERT_MESSAGE( "endPage() called", m_bPageEnded );
             CPPUNIT_ASSERT_EQUAL_MESSAGE( "Num pages equal one", m_nNumPages, (sal_Int32) 1 );
-#if 0
             CPPUNIT_ASSERT_MESSAGE( "Correct hyperlink bounding box",
                                     rtl::math::approxEqual(m_aHyperlinkBounds.X1,34.7 ) &&
                                     rtl::math::approxEqual(m_aHyperlinkBounds.Y1,386.0) &&
                                     rtl::math::approxEqual(m_aHyperlinkBounds.X2,166.7) &&
                                     rtl::math::approxEqual(m_aHyperlinkBounds.Y2,406.2) );
             CPPUNIT_ASSERT_EQUAL_MESSAGE( "Correct hyperlink URI", m_aURI, ::rtl::OUString("http://download.openoffice.org/") );
-#endif
 
             const char* sText = " \n \nThis is a testtext\nNew paragraph,\nnew line\n"
                 "Hyperlink, this is\n?\nThis is more text\noutline mode\n?\nNew paragraph\n";


More information about the Libreoffice-commits mailing list