diff options
author | dilekuzulmez <dilekuzulmez@gmail.com> | 2017-03-16 23:38:59 +0300 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-21 12:31:30 +0000 |
commit | e73505fe0fb44075b462a20a3b2091063db5e1b3 (patch) | |
tree | 77dd32e412a2e69e386cd80791394e1b3df6ac5a /sot/source | |
parent | ac655f20ad99bedd059ab2a046aa0a0ac2312beb (diff) |
tdf#96505 Get rid of cargo cult long integer literals
Change-Id: I6bda2915547980b33d059257c8dbd65f181f9f16
Reviewed-on: https://gerrit.libreoffice.org/35291
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index 409e4729a874..57632bcc128c 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -297,7 +297,7 @@ bool StgCache::Open( const OUString& rName, StreamMode nMode ) { sal_uLong nFileSize = m_pStrm->Seek( STREAM_SEEK_TO_END ); m_nPages = lcl_GetPageCount( nFileSize, m_nPageSize ); - m_pStrm->Seek( 0L ); + m_pStrm->Seek( 0 ); } else m_nPages = 0; @@ -335,7 +335,7 @@ bool StgCache::Read( sal_Int32 nPage, void* pBuf ) // fixed address and size for the header if( nPage == -1 ) { - nPos = 0L; + nPos = 0; nBytes = 512; nPg2 = 1; } @@ -364,7 +364,7 @@ bool StgCache::Write( sal_Int32 nPage, void* pBuf ) // nPageSize must be >= 512, otherwise the header can not be written here, we check it on import if( nPage == -1 ) { - nPos = 0L; + nPos = 0; nBytes = 512; } if( m_pStrm->Tell() != nPos ) |