From 2e8acde112e1c6754df26902e79a78346ba45a2d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Aug 2017 16:27:55 +0200 Subject: remove UL/L suffixes from integer constants on the RHS of expressions Change-Id: I899a8126c9d971601fea6c77eca165718aea0ac5 Reviewed-on: https://gerrit.libreoffice.org/41237 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sot/source/sdstor/stg.cxx | 4 ++-- sot/source/sdstor/stgole.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sot') diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index a668917cfd13..67ea06b8f815 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -195,7 +195,7 @@ sal_uLong StorageStream::Read( void* pData, sal_uLong nSize ) nPos += nSize; } else - nSize = 0L; + nSize = 0; return nSize; } @@ -209,7 +209,7 @@ sal_uLong StorageStream::Write( const void* pData, sal_uLong nSize ) nPos += nSize; } else - nSize = 0L; + nSize = 0; return nSize; } diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx index 8b5a8dbca478..3ad9ece73664 100644 --- a/sot/source/sdstor/stgole.cxx +++ b/sot/source/sdstor/stgole.cxx @@ -110,7 +110,7 @@ bool StgCompObjStream::Load() Seek( 8 ); // skip the first part sal_Int32 nMarker = 0; ReadInt32( nMarker ); - if( nMarker == -1L ) + if( nMarker == -1 ) { ReadClsId( *this, m_aClsId ); sal_Int32 nLen1 = 0; @@ -149,7 +149,7 @@ bool StgCompObjStream::Store() WriteInt16( 1 ); // Version? WriteInt16( -2 ); // 0xFFFE = Byte Order Indicator WriteInt32( 0x0A03 ); // Windows 3.10 - WriteInt32( -1L ); + WriteInt32( -1 ); WriteClsId( *this, m_aClsId ); // Class ID WriteInt32( aAsciiUserName.getLength() + 1 ); WriteCharPtr( aAsciiUserName.getStr() ); -- cgit