From ff1f6a5fc25db062e9a83521a657062f62f03ba6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Aug 2017 14:45:49 +0200 Subject: remove UL/L suffixes from integer constants in initialiser/call expressions Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300 Reviewed-on: https://gerrit.libreoffice.org/41214 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/gdi/dibtools.cxx | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'vcl/source/gdi/dibtools.cxx') diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index a7242f39b26e..002f617cdb1b 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -84,17 +84,17 @@ struct DIBInfoHeader sal_uInt32 nColsImportant; DIBInfoHeader() - : nSize(0UL), - nWidth(0UL), - nHeight(0UL), + : nSize(0), + nWidth(0), + nHeight(0), nPlanes(0), nBitCount(0), nCompression(0), nSizeImage(0), - nXPelsPerMeter(0UL), - nYPelsPerMeter(0UL), - nColsUsed(0UL), - nColsImportant(0UL) + nXPelsPerMeter(0), + nYPelsPerMeter(0), + nColsUsed(0), + nColsImportant(0) {} }; @@ -116,19 +116,19 @@ struct DIBV5Header : public DIBInfoHeader DIBV5Header() : DIBInfoHeader(), - nV5RedMask(0UL), - nV5GreenMask(0UL), - nV5BlueMask(0UL), - nV5AlphaMask(0UL), - nV5CSType(0UL), + nV5RedMask(0), + nV5GreenMask(0), + nV5BlueMask(0), + nV5AlphaMask(0), + nV5CSType(0), aV5Endpoints(), - nV5GammaRed(0UL), - nV5GammaGreen(0UL), - nV5GammaBlue(0UL), - nV5Intent(0UL), - nV5ProfileData(0UL), - nV5ProfileSize(0UL), - nV5Reserved(0UL) + nV5GammaRed(0), + nV5GammaGreen(0), + nV5GammaBlue(0), + nV5Intent(0), + nV5ProfileData(0), + nV5ProfileSize(0), + nV5Reserved(0) {} }; @@ -1594,7 +1594,7 @@ bool ImplReadDIB( { const SvStreamEndian nOldFormat(rIStm.GetEndian()); const sal_uLong nOldPos(rIStm.Tell()); - sal_uLong nOffset(0UL); + sal_uLong nOffset(0); bool bRet(false); rIStm.SetEndian(SvStreamEndian::LITTLE); -- cgit