[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 10 11:09:25 UTC 2020


 vcl/source/bitmap/bitmappaint.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 42fec1738d2e1bc6b962c870f7712edd103f58a1
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Dec 10 09:38:17 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Dec 10 12:08:44 2020 +0100

    we can use sal_uInt8 instead of int
    
    Change-Id: Iefc668fa77ae0cf6ca373360a2512a3776981dbe
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107514
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/bitmap/bitmappaint.cxx b/vcl/source/bitmap/bitmappaint.cxx
index 54ef3c69aaa1..a1ddb1333785 100644
--- a/vcl/source/bitmap/bitmappaint.cxx
+++ b/vcl/source/bitmap/bitmappaint.cxx
@@ -926,12 +926,12 @@ bool Bitmap::Replace(const Color* pSearchColors, const Color* pReplaceColors, si
 
     if (pAcc)
     {
-        std::vector<int> aMinR(nColorCount);
-        std::vector<int> aMaxR(nColorCount);
-        std::vector<int> aMinG(nColorCount);
-        std::vector<int> aMaxG(nColorCount);
-        std::vector<int> aMinB(nColorCount);
-        std::vector<int> aMaxB(nColorCount);
+        std::vector<sal_uInt8> aMinR(nColorCount);
+        std::vector<sal_uInt8> aMaxR(nColorCount);
+        std::vector<sal_uInt8> aMinG(nColorCount);
+        std::vector<sal_uInt8> aMaxG(nColorCount);
+        std::vector<sal_uInt8> aMinB(nColorCount);
+        std::vector<sal_uInt8> aMaxB(nColorCount);
 
         if (pTols)
         {


More information about the Libreoffice-commits mailing list