[Libreoffice-commits] core.git: basebmp/test

Stephan Bergmann sbergman at redhat.com
Fri Oct 16 04:23:41 PDT 2015


 basebmp/test/basictest.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f4ea34e7558fcd31096f51f632c0c0893b49cf5b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 16 13:23:04 2015 +0200

    Fix type of nPixel
    
    Change-Id: I2f59600318b345dce6bf00c30bb5e728c0fbebae

diff --git a/basebmp/test/basictest.cxx b/basebmp/test/basictest.cxx
index 5137fba..ebc1fcb 100644
--- a/basebmp/test/basictest.cxx
+++ b/basebmp/test/basictest.cxx
@@ -186,7 +186,7 @@ public:
         const basegfx::B2IPoint aPt5(100000,100000);
         pDevice->setPixel( aPt5, aCol3, DrawMode::Paint );
 
-        sal_Int32 nPixel(countPixel(pDevice, aCol2));
+        auto nPixel(countPixel(pDevice, aCol2));
         const basegfx::B2IPoint aPt6(aSize.getX(),aSize.getY());
         pDevice->setPixel( aPt6, aCol2, DrawMode::Paint );
         CPPUNIT_ASSERT_EQUAL_MESSAGE("setPixel clipping",


More information about the Libreoffice-commits mailing list