summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorudareechk <udareeck@gmail.com>2017-09-21 20:28:07 +0530
committerMichael Stahl <mstahl@redhat.com>2017-10-23 14:48:52 +0200
commitbafc68b9e72cab0de949a8f2bc49a832c3517623 (patch)
treefbe84876556ab5b4c8302757bdb055648dd3950f /vcl/win
parentb0b4482cc496b163b4c8d23a0c2156f38017abc5 (diff)
tdf#96505 Get rid of cargo cult long integer literals
Removed 1L and 0L in vcl/ directory files Change-Id: I0f5d134e0602d00ba058d34054b3dbfbc4233983 Reviewed-on: https://gerrit.libreoffice.org/42599 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/gdi/salgdi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/gdi/salgdi.cxx b/vcl/win/gdi/salgdi.cxx
index 587b3c62bd3e..c79ecc098bcf 100644
--- a/vcl/win/gdi/salgdi.cxx
+++ b/vcl/win/gdi/salgdi.cxx
@@ -249,10 +249,10 @@ void ImplInitSalGDI()
pColors[ n ] = (short)( n + DITHER_MAX_SYSCOLOR );
for( n = 0; n < 256; n++ )
- pSalData->mpDitherDiff[ n ] = n % 51L;
+ pSalData->mpDitherDiff[ n ] = n % 51;
for( n = 0; n < 256; n++ )
- pSalData->mpDitherLow[ n ] = (BYTE) ( n / 51L );
+ pSalData->mpDitherLow[ n ] = (BYTE) ( n / 51 );
for( n = 0; n < 256; n++ )
pSalData->mpDitherHigh[ n ] = (BYTE)std::min( pSalData->mpDitherLow[ n ] + 1, 5 );