diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-16 16:32:13 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-21 22:29:39 +0200 |
commit | eb4cbea657b9038c488f1b1bcf5107cc226a6681 (patch) | |
tree | fd0c7fd9ca41ad9b6b44e25ca1e79260ce3cdde0 /store/source/lockbyte.cxx | |
parent | 4215bca95511af8e4ee96e3c8f521b35f638aef3 (diff) |
Silence some conversion warnings
Change-Id: I676ed010576f3a24b193ffc6c28a319bcc5ac968
Diffstat (limited to 'store/source/lockbyte.cxx')
-rw-r--r-- | store/source/lockbyte.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx index 09925400d0a5..552199366781 100644 --- a/store/source/lockbyte.cxx +++ b/store/source/lockbyte.cxx @@ -95,7 +95,7 @@ storeError ILockBytes::readAt (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nB if (src_size > SAL_MAX_UINT32) return store_E_CantSeek; - return readAt_Impl (nOffset, dst_lo, (dst_hi - dst_lo)); + return readAt_Impl (nOffset, dst_lo, nBytes); } storeError ILockBytes::writeAt (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes) @@ -117,7 +117,7 @@ storeError ILockBytes::writeAt (sal_uInt32 nOffset, void const * pBuffer, sal_uI if (dst_size > SAL_MAX_UINT32) return store_E_CantSeek; - return writeAt_Impl (nOffset, src_lo, (src_hi - src_lo)); + return writeAt_Impl (nOffset, src_lo, nBytes); } storeError ILockBytes::getSize (sal_uInt32 & rnSize) |