summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-08 14:28:58 +0200
committerNoel Grandin <noel@peralex.com>2015-09-10 08:20:15 +0200
commit4db28b21499b866c44a6727118a9a94bf2f590ef (patch)
tree641178417368b22f0ccece05b0d2fb919f7ea982 /include
parent5066199663e40aad46e769ca3372f5f0b9915789 (diff)
convert Link<> to typed
Change-Id: I7aa46c5cbaf70bea5756a4066bc620b3c40dedee
Diffstat (limited to 'include')
-rw-r--r--include/svtools/grfmgr.hxx2
-rw-r--r--include/vcl/animate.hxx6
-rw-r--r--include/vcl/graph.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 3ea3097d37d4..c72e0ee522a9 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -415,7 +415,7 @@ public:
bool IsAnimated() const { return mbAnimated; }
bool IsEPS() const { return mbEPS; }
- Link<> GetAnimationNotifyHdl() const { return GetGraphic().GetAnimationNotifyHdl(); }
+ Link<Animation*,void> GetAnimationNotifyHdl() const { return GetGraphic().GetAnimationNotifyHdl(); }
bool SwapOut();
bool SwapOut( SvStream* pOStm );
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index 801d9e42d7c8..3bc5ecb8fda3 100644
--- a/include/vcl/animate.hxx
+++ b/include/vcl/animate.hxx
@@ -152,8 +152,8 @@ public:
CycleMode GetCycleMode() const { return meCycleMode; }
- void SetNotifyHdl( const Link<>& rLink ) { maNotifyLink = rLink; }
- const Link<>& GetNotifyHdl() const { return maNotifyLink; }
+ void SetNotifyHdl( const Link<Animation*,void>& rLink ) { maNotifyLink = rLink; }
+ const Link<Animation*,void>& GetNotifyHdl() const { return maNotifyLink; }
size_t Count() const { return maList.size(); }
bool Insert( const AnimationBitmap& rAnimationBitmap );
@@ -205,7 +205,7 @@ private:
std::vector< AnimationBitmap* > maList;
std::vector< ImplAnimView* > maViewList;
- Link<> maNotifyLink;
+ Link<Animation*,void> maNotifyLink;
BitmapEx maBitmapEx;
Timer maTimer;
Size maGlobalSize;
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index cc2890dcf898..c7d2ceba7b95 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -155,8 +155,8 @@ public:
void StopAnimation( OutputDevice* pOutputDevice = NULL,
long nExtraData = 0L );
- void SetAnimationNotifyHdl( const Link<>& rLink );
- Link<> GetAnimationNotifyHdl() const;
+ void SetAnimationNotifyHdl( const Link<Animation*,void>& rLink );
+ Link<Animation*,void> GetAnimationNotifyHdl() const;
sal_uLong GetAnimationLoopCount() const;