[libreoffice] 01/01: patches/tdf108963-test.diff: also adjust height...

Rene Engelhard rene at moszumanska.debian.org
Sun Oct 15 16:27:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch debian-experimental-6.0
in repository libreoffice.

commit 47bd190e5db36c3e90e5713a9403db97065afb28
Author: Rene Engelhard <rene at debian.org>
Date:   Sun Oct 15 18:27:44 2017 +0200

    patches/tdf108963-test.diff: also adjust height...
---
 patches/tdf108963-test.diff | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/patches/tdf108963-test.diff b/patches/tdf108963-test.diff
index 255b271..1b36e5a 100644
--- a/patches/tdf108963-test.diff
+++ b/patches/tdf108963-test.diff
@@ -1,16 +1,18 @@
-PDF got exported and the text rotated. Somehow we get 40, though. But as it
-gets rotated, adapt the value so that the test passes...
+PDF got exported and the text rotated. Somehow we get 40/36, though. But as it
+gets rotated, adapt the values so that the test passes...
 
 diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
-index fecdee085f31..59ee4e9cb967 100644
+index fecdee085f31..76e44de8427f 100644
 --- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
 +++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
-@@ -722,7 +722,7 @@ void PdfExportTest::testTdf108963()
+@@ -722,8 +722,8 @@ void PdfExportTest::testTdf108963()
              int nHeight = fTop - fBottom;
              // This was 37 and 20, i.e. the bounding rectangle was much smaller
              // as the highlight polygon wasn't rotated.
 -            CPPUNIT_ASSERT_EQUAL(42, nWidth);
+-            CPPUNIT_ASSERT_EQUAL(39, nHeight);
 +            CPPUNIT_ASSERT_EQUAL(40, nWidth);
-             CPPUNIT_ASSERT_EQUAL(39, nHeight);
++            CPPUNIT_ASSERT_EQUAL(36, nHeight);
          }
      }
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git



More information about the Pkg-openoffice-commits mailing list