From 2887aefa4d4f60ba8b0cd7efd5d3a73ffb209781 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 Reviewed-on: https://gerrit.libreoffice.org/41237 Tested-by: Jenkins Reviewed-by: Noel Grandin (cherry picked from commit 2e8acde112e1c6754df26902e79a78346ba45a2d) Change-Id: I899a8126c9d971601fea6c77eca165718aea0ac5 Reviewed-on: https://gerrit.libreoffice.org/45452 Reviewed-by: Noel Grandin Reviewed-by: Ashod Nakashian Tested-by: Ashod Nakashian --- 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 0ce16d4900e5..c2a4477a0565 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 9adfcac5fbd4..983401def54c 100644 --- a/sot/source/sdstor/stgole.cxx +++ b/sot/source/sdstor/stgole.cxx @@ -111,7 +111,7 @@ bool StgCompObjStream::Load() Seek( 8L ); // skip the first part sal_Int32 nMarker = 0; ReadInt32( nMarker ); - if( nMarker == -1L ) + if( nMarker == -1 ) { ReadClsId( *this, m_aClsId ); sal_Int32 nLen1 = 0; @@ -150,7 +150,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 v1.2.3