vcl/win/gdi/salbmp.cxx | 16 ---------------- 1 file changed, 16 deletions(-)
New commits: commit ddd9082c397b97e4aa43daf998f3fe36cb8bb724 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Apr 27 08:41:01 2021 +0200 Commit: Stephan Bergmann <sberg...@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 <sberg...@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(), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits