summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 14:45:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 08:14:31 +0200
commitff1f6a5fc25db062e9a83521a657062f62f03ba6 (patch)
tree272dfa9af5ead31b61c1be34afcaf4402ff4ad77 /forms
parent224b770fa77fe12ad5dc543ce020aca316b6558d (diff)
remove UL/L suffixes from integer constants in initialiser/call expressions
Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300 Reviewed-on: https://gerrit.libreoffice.org/41214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/imgprod.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx
index 666b7b016a6e..6dbb07227314 100644
--- a/forms/source/component/imgprod.cxx
+++ b/forms/source/component/imgprod.cxx
@@ -306,7 +306,7 @@ bool ImageProducer::ImplImportGraphic( Graphic& rGraphic )
if( ERRCODE_IO_PENDING == mpStm->GetError() )
mpStm->ResetError();
- mpStm->Seek( 0UL );
+ mpStm->Seek( 0 );
bool bRet = GraphicConverter::Import( *mpStm, rGraphic ) == ERRCODE_NONE;
@@ -364,9 +364,9 @@ void ImageProducer::ImplInitConsumer( const Graphic& rGraphic )
{
const BitmapColor& rCol = pBmpAcc->GetPaletteColor( (sal_uInt16) i );
- *pTmp = ( (sal_Int32) rCol.GetRed() ) << (sal_Int32)(24L);
- *pTmp |= ( (sal_Int32) rCol.GetGreen() ) << (sal_Int32)(16L);
- *pTmp |= ( (sal_Int32) rCol.GetBlue() ) << (sal_Int32)(8L);
+ *pTmp = ( (sal_Int32) rCol.GetRed() ) << (sal_Int32)(24);
+ *pTmp |= ( (sal_Int32) rCol.GetGreen() ) << (sal_Int32)(16);
+ *pTmp |= ( (sal_Int32) rCol.GetBlue() ) << (sal_Int32)(8);
*pTmp |= (sal_Int32)(0x000000ffL);
}
@@ -493,9 +493,9 @@ void ImageProducer::ImplUpdateConsumer( const Graphic& rGraphic )
{
const BitmapColor aCol( pBmpAcc->GetPixel( nY, nX ) );
- *pTmp = ( (sal_Int32) aCol.GetRed() ) << (sal_Int32)(24L);
- *pTmp |= ( (sal_Int32) aCol.GetGreen() ) << (sal_Int32)(16L);
- *pTmp |= ( (sal_Int32) aCol.GetBlue() ) << (sal_Int32)(8L);
+ *pTmp = ( (sal_Int32) aCol.GetRed() ) << 24;
+ *pTmp |= ( (sal_Int32) aCol.GetGreen() ) << 16;
+ *pTmp |= ( (sal_Int32) aCol.GetBlue() ) << 8;
if( pMskAcc->GetPixel( nY, nX ) != aWhite )
*pTmp |= 0x000000ffUL;