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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 27 09:10:19 UTC 2021


 vcl/win/gdi/salbmp.cxx |   16 ----------------
 1 file changed, 16 deletions(-)

New commits:
commit ddd9082c397b97e4aa43daf998f3fe36cb8bb724
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Apr 27 08:41:01 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Apr 27 11:09:35 2021 +0200

    -Werror,-Wunused-function (clang-cl)
    
    Change-Id: Ic5f4ca1147217d830ea3492b4f42116e15cbae80
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114691
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/win/gdi/salbmp.cxx b/vcl/win/gdi/salbmp.cxx
index 0218ca408eec..4602565ece51 100644
--- a/vcl/win/gdi/salbmp.cxx
+++ b/vcl/win/gdi/salbmp.cxx
@@ -53,22 +53,6 @@
 #undef max
 #endif
 
-static void ImplSetPixel4( sal_uInt8* pScanline, tools::Long nX, const BYTE cIndex )
-{
-    BYTE& rByte = pScanline[ nX >> 1 ];
-
-    if ( nX & 1 )
-    {
-        rByte &= 0xf0;
-        rByte |= cIndex & 0x0f;
-    }
-    else
-    {
-        rByte &= 0x0f;
-        rByte |= cIndex << 4;
-    }
-}
-
 WinSalBitmap::WinSalBitmap()
 :   SalBitmap(),
     basegfx::SystemDependentDataHolder(),


More information about the Libreoffice-commits mailing list