diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 13:57:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-12 07:46:46 +0100 |
commit | bb76df91431e2043a0683ea4140fe69178e10c8d (patch) | |
tree | 1cac0bd83de23c34c3b48159e2dff8bcf256c768 /sfx2 | |
parent | 5de99031fa31eaf78d92cf5aa8de6cac8f2f8782 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/linksrc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<SvLinkSourceTimer>& pTimer, SvLinkSource * pOwner, - sal_uIntPtr nTimeout ) + sal_uInt64 nTimeout ) { if( !pTimer ) { @@ -179,7 +179,7 @@ struct SvLinkSource_Impl OUString aDataMimeType; std::unique_ptr<SvLinkSourceTimer> pTimer; - sal_uIntPtr nTimeout; + sal_uInt64 nTimeout; css::uno::Reference<css::io::XInputStream> 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 ) |