summaryrefslogtreecommitdiff
path: root/sw/inc/crsrsh.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 16:13:33 +0200
committerNoel Grandin <noel@peralex.com>2015-09-18 08:46:11 +0200
commitf8fa762026f0767b98284d8af08ab6e9814c9f0a (patch)
tree7e0c297106c7198cf571810aeee8f9813795db06 /sw/inc/crsrsh.hxx
parent7034c959c5960371ee32f8a86ef656aeeeb5817e (diff)
convert Link<> to typed
Change-Id: I706a3b3489dc8e945ce9e7e7ddc41104e9a15bab
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r--sw/inc/crsrsh.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 93ed941f5105..2d68c835760c 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -166,7 +166,7 @@ private:
Point m_aOldRBPos; ///< Right/Bottom of last VisArea
// (used in Invalidate by Cursor)
- Link<> m_aFlyMacroLnk; /**< Link will be called, if the Crsr is set
+ Link<const SwFlyFrameFormat*,void> m_aFlyMacroLnk; /**< Link will be called, if the Crsr is set
into a fly. A macro can then be called */
Link<> m_aChgLnk; /**< link will be called by every attribute/
format changes at cursor position.*/
@@ -481,8 +481,8 @@ public:
bool IsOverReadOnlyPos( const Point& rPt ) const;
// Methods for aFlyMacroLnk.
- void SetFlyMacroLnk( const Link<>& rLnk ) { m_aFlyMacroLnk = rLnk; }
- const Link<>& GetFlyMacroLnk() const { return m_aFlyMacroLnk; }
+ void SetFlyMacroLnk( const Link<const SwFlyFrameFormat*,void>& rLnk ) { m_aFlyMacroLnk = rLnk; }
+ const Link<const SwFlyFrameFormat*,void>& GetFlyMacroLnk() const { return m_aFlyMacroLnk; }
// Methods returning/altering link for changes of attributes/formates.
void SetChgLnk( const Link<> &rLnk ) { m_aChgLnk = rLnk; }