summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-09 09:04:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-09 13:10:38 +0100
commitab79c33286602b212cdb800347f58182a84954a1 (patch)
tree7d863e1f1490315dc132c360fa8226740c249e76
parentf57cfddb51b7d7409b7b425dc200aa73406a13bd (diff)
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 <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/filter/graphicfilter.cxx4
1 files changed, 2 insertions, 2 deletions
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)