diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/docfile.hxx | 4 | ||||
-rw-r--r-- | include/svtools/asynclink.hxx | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx index d5404e254404..c3c9e94bbdb6 100644 --- a/include/sfx2/docfile.hxx +++ b/include/sfx2/docfile.hxx @@ -134,8 +134,8 @@ public: const OUString& GetPhysicalName() const; SAL_WARN_UNUSED_RESULT bool IsRemote() const; SAL_WARN_UNUSED_RESULT bool IsOpen() const; // { return aStorage.Is() || pInStream; } - void Download( const Link<>& aLink = Link<>()); - void SetDoneLink( const Link<>& rLink ); + void Download( const Link<void*,void>& aLink = Link<void*,void>()); + void SetDoneLink( const Link<void*,void>& rLink ); sal_uInt32 GetErrorCode() const; sal_uInt32 GetError() const diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx index 747b0c38678d..f0fc74cec2af 100644 --- a/include/svtools/asynclink.hxx +++ b/include/svtools/asynclink.hxx @@ -32,20 +32,20 @@ namespace svtools { class SVT_DLLPUBLIC AsynchronLink { - Link<> _aLink; - ImplSVEvent * _nEventId; - Idle* _pIdle; - bool _bInCall; - bool* _pDeleted; - void* _pArg; - ::osl::Mutex* _pMutex; + Link<void*,void> _aLink; + ImplSVEvent* _nEventId; + Idle* _pIdle; + bool _bInCall; + bool* _pDeleted; + void* _pArg; + ::osl::Mutex* _pMutex; DECL_DLLPRIVATE_LINK_TYPED( HandleCall_Idle, Idle*, void ); DECL_DLLPRIVATE_LINK_TYPED( HandleCall_PostUserEvent, void*, void ); SVT_DLLPRIVATE void Call_Impl( void* pArg ); public: - AsynchronLink( const Link<>& rLink ) + AsynchronLink( const Link<void*,void>& rLink ) : _aLink( rLink ) , _nEventId( 0 ) , _pIdle( 0 ) @@ -65,7 +65,7 @@ public: ~AsynchronLink(); void CreateMutex(); - void operator=( const Link<>& rLink ) { _aLink = rLink; } + void operator=( const Link<void*,void>& rLink ) { _aLink = rLink; } void Call( void* pObj, bool bAllowDoubles = false, bool bUseTimer = false ); void ClearPendingCall( ); }; |