summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-09-04 15:31:53 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-04 15:39:38 +0200
commit6803fc4cc80ce1944d98535b3c4395c90ca61880 (patch)
tree8f53232ad45764f0dbfffcf831404cbfc1959522
parent8d12e4ec8b843d59661a12a7a92bfec7e4473e0f (diff)
fix unit test breakage on mac due to magic number
Change-Id: Idca4f6faafaaa169a7efb6d85d11f0b78dbfc085
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
index 7dfa7adc5191..fc1bcfded04d 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
@@ -191,7 +191,7 @@ DECLARE_OOXMLEXPORT_TEST(testDmlRectangleRelsize, "dml-rectangle-relsize.docx")
// This was around 19560, as we did not read wp14:pctHeight for
// drawinglayer shapes and the fallback data was invalid.
OString aMessage("Height is only " + OString::number(getShape(1)->getSize().Height));
- CPPUNIT_ASSERT_MESSAGE(aMessage.getStr(), getShape(1)->getSize().Height >= 20973);
+ CPPUNIT_ASSERT_MESSAGE(aMessage.getStr(), getShape(1)->getSize().Height >= 20967);
// This was around 0: relative size of 0% was imported as 0, not "fall back to absolute size".
CPPUNIT_ASSERT(getShape(2)->getSize().Height > 300);