diff options
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 4 | ||||
-rw-r--r-- | sot/source/sdstor/stgole.cxx | 4 |
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() ); |