summaryrefslogtreecommitdiffstats
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 16:27:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 11:25:21 +0200
commit2e8acde112e1c6754df26902e79a78346ba45a2d (patch)
tree2d836747a7aafdd0b64ab9aabf01be59e94745d4 /sot
parentRemoving unused serialisation code (diff)
downloadcore-2e8acde112e1c6754df26902e79a78346ba45a2d.tar.gz
core-2e8acde112e1c6754df26902e79a78346ba45a2d.zip
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stg.cxx4
-rw-r--r--sot/source/sdstor/stgole.cxx4
2 files changed, 4 insertions, 4 deletions
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() );