From bb76df91431e2043a0683ea4140fe69178e10c8d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Dec 2017 13:57:00 +0200 Subject: sal_uIntPtr->sal_uInt64 in Get/SetUpdateTimeout to match the call on the underlying Timer Change-Id: Ia9044afa18decde69330962f74f7be477e9962fc Reviewed-on: https://gerrit.libreoffice.org/46226 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/appl/linksrc.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx index 2ecffc5b02c4..05e1f92fa12d 100644 --- a/sfx2/source/appl/linksrc.cxx +++ b/sfx2/source/appl/linksrc.cxx @@ -55,7 +55,7 @@ void SvLinkSourceTimer::Invoke() } static void StartTimer( std::unique_ptr& pTimer, SvLinkSource * pOwner, - sal_uIntPtr nTimeout ) + sal_uInt64 nTimeout ) { if( !pTimer ) { @@ -179,7 +179,7 @@ struct SvLinkSource_Impl OUString aDataMimeType; std::unique_ptr pTimer; - sal_uIntPtr nTimeout; + sal_uInt64 nTimeout; css::uno::Reference m_xInputStreamToLoadFrom; bool m_bIsReadOnly; @@ -229,12 +229,12 @@ void SvLinkSource::Closed() p->xSink->Closed(); } -sal_uIntPtr SvLinkSource::GetUpdateTimeout() const +sal_uInt64 SvLinkSource::GetUpdateTimeout() const { return pImpl->nTimeout; } -void SvLinkSource::SetUpdateTimeout( sal_uIntPtr nTimeout ) +void SvLinkSource::SetUpdateTimeout( sal_uInt64 nTimeout ) { pImpl->nTimeout = nTimeout; if( pImpl->pTimer ) -- cgit