diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-08-09 16:38:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-09 20:06:54 +0200 |
commit | da54fbce1c9101925059b980a0d9fe441bf0461f (patch) | |
tree | 1dac07149177ce27834f8293246fdc944d397061 /sfx2/source | |
parent | 55c0d6caec990ed2d5433251bfed9c51d1207e47 (diff) |
use sal_uInt64 when dealing with stream position
Change-Id: I2869e115941b3e1f52911d58d54ec1b2831d0524
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155524
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/graphhelp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index 754d5692f8c7..7cfdf76fe60f 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -116,7 +116,7 @@ void* GraphicHelper::getWinMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta, co pStream.Flush(); if ( !nFailed ) { - sal_Int32 nLength = pStream.TellEnd(); + sal_uInt64 nLength = pStream.TellEnd(); if ( nLength > 22 ) { HMETAFILE hMeta = SetMetaFileBitsEx( nLength - 22, |