[Libreoffice-commits] core.git: sfx2/source
Onur Yilmaz (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jan 16 15:37:33 UTC 2020
sfx2/source/bastyp/mieclip.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5434688e5c38d438444dd8d088dff9d3de58214a
Author: Onur Yilmaz <onuryilmaz0750 at gmail.com>
AuthorDate: Sat Jan 11 19:12:07 2020 +0300
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Thu Jan 16 16:37:01 2020 +0100
tdf#75280 Convert inappropriate use of sal_uIntPtr to better integer types
Change-Id: I9f2b7d3cd0954f5ffa3cfb194cd625ea175ff6bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86608
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index ecd2ebba936f..dd3871db719a 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -79,7 +79,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
if (nFragStart > 0 && nFragEnd > 0 && nFragEnd > nFragStart)
{
- sal_uIntPtr nSize = static_cast<sal_uIntPtr>(nFragEnd - nFragStart + 1);
+ size_t nSize = static_cast<size_t>(nFragEnd - nFragStart + 1);
if (nSize < 0x10000L)
{
rStream.Seek(nFragStart);
More information about the Libreoffice-commits
mailing list