sot/source/sdstor/stgcache.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit e73505fe0fb44075b462a20a3b2091063db5e1b3 Author: dilekuzulmez <dilekuzul...@gmail.com> Date: Thu Mar 16 23:38:59 2017 +0300 tdf#96505 Get rid of cargo cult long integer literals Change-Id: I6bda2915547980b33d059257c8dbd65f181f9f16 Reviewed-on: https://gerrit.libreoffice.org/35291 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits