vcl/source/filter/graphicfilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ab79c33286602b212cdb800347f58182a84954a1 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Dec 9 09:04:01 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Dec 9 13:10:38 2021 +0100 Stream::Tell returns sal_uInt64 not sal_uLong Change-Id: I060121b0d2b2e36cd9c5e99e3047997ed7c1d517 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126571 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index add513e1b72e..44b19902d479 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -1311,7 +1311,7 @@ ErrCode GraphicFilter::ImportGraphic( Graphic& rGraphic, const OUString& rPath, WmfExternal const *pExtHeader ) { OUString aFilterName; - sal_uLong nStreamBegin; + sal_uInt64 nStreamBegin; ErrCode nStatus; GfxLinkType eLinkType = GfxLinkType::NONE; const bool bLinkSet = rGraphic.IsGfxLink(); @@ -1463,7 +1463,7 @@ ErrCode GraphicFilter::ImportGraphic( Graphic& rGraphic, const OUString& rPath, { if (!pGraphicContent) { - const sal_uLong nStreamEnd = rIStream.Tell(); + const sal_uInt64 nStreamEnd = rIStream.Tell(); nGraphicContentSize = nStreamEnd - nStreamBegin; if (nGraphicContentSize > 0)