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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 21 15:55:34 UTC 2021


 vcl/quartz/salgdicommon.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4578b867c37abd9fb822d1d6f4935bd961403973
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jan 21 13:42:53 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jan 21 16:54:53 2021 +0100

    loplugin:doubleconvert (macOS)
    
    Change-Id: I3225ec0916b793a322acb44010563052451f782e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109758
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 33ffc43741a1..f58cfecf712e 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -1046,7 +1046,7 @@ Color AquaSalGraphics::getPixel( tools::Long nX, tools::Long nY )
     if (!maLayer.isSet() || (nX < 0) || (nX >= mnWidth) ||
         (nY < 0) || (nY >= mnHeight))
     {
-        return sal_uInt32(COL_BLACK);
+        return COL_BLACK;
     }
     // prepare creation of matching a CGBitmapContext
 #if defined OSL_BIGENDIAN


More information about the Libreoffice-commits mailing list