[Libreoffice-commits] core.git: cppcanvas/qa

Arnaud Versini arnaud.versini at gmail.com
Mon Jul 28 01:02:23 PDT 2014


 cppcanvas/qa/extras/emfplus/emfplus.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8124418d7add872924b6c04258260d3c88678dc0
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date:   Mon Jul 21 20:30:47 2014 +0200

    Use better coordinates for unit test of fdo#77229
    
    Change-Id: I5fae217687e12313451da5bf4b4e6f914551b628
    Reviewed-on: https://gerrit.libreoffice.org/10447
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx
index adfb11c..68694b4 100644
--- a/cppcanvas/qa/extras/emfplus/emfplus.cxx
+++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx
@@ -82,7 +82,7 @@ void Test::testFdo77229()
     Bitmap aBitmap = load("fdo77229.emf");
     Bitmap::ScopedReadAccess pAccess(aBitmap);
     // The green star was missing.
-    CPPUNIT_ASSERT_EQUAL(sal_uInt32(0x00fe00), Color(pAccess->GetPixel(140, 140)).GetColor());
+    CPPUNIT_ASSERT_EQUAL(sal_uInt32(0x00fe00), Color(pAccess->GetPixel(142, 140)).GetColor());
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);


More information about the Libreoffice-commits mailing list