summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-27 08:41:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-04-27 11:09:35 +0200
commitddd9082c397b97e4aa43daf998f3fe36cb8bb724 (patch)
tree6540e0713c54378431c436189a28810ac207f7a3 /vcl
parentcf017d0b4316f52271fe91f8c18a5e648fd5d682 (diff)
-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@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/gdi/salbmp.cxx16
1 files changed, 0 insertions, 16 deletions
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(),