diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-17 16:47:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-18 08:46:11 +0200 |
commit | 8578168b6aa6ccd3d0fad494300766fce4b26dbc (patch) | |
tree | 03d6505adfaa076722cdac9e54e862d2945e5595 /sw/inc | |
parent | f8fa762026f0767b98284d8af08ab6e9814c9f0a (diff) |
convert Link<> to typed
Change-Id: I2e49e9b18db6ee6ce0dcaea0a83e862384d5beaa
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/crsrsh.hxx | 6 | ||||
-rw-r--r-- | sw/inc/view.hxx | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 2d68c835760c..cf6d81805011 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -168,7 +168,7 @@ private: 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/ + Link<SwCrsrShell*,void> m_aChgLnk; /**< link will be called by every attribute/ format changes at cursor position.*/ Link<> m_aGrfArrivedLnk; ///< Link calls to UI if a graphic is arrived @@ -485,8 +485,8 @@ public: 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; } - const Link<>& GetChgLnk() const { return m_aChgLnk; } + void SetChgLnk( const Link<SwCrsrShell*,void> &rLnk ) { m_aChgLnk = rLnk; } + const Link<SwCrsrShell*,void>& GetChgLnk() const { return m_aChgLnk; } // Methods returning/altering ling for "graphic completely loaded". void SetGrfArrivedLnk( const Link<> &rLnk ) { m_aGrfArrivedLnk = rLnk; } diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index 5fb0f345a1bc..a7185916cf55 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -78,6 +78,7 @@ class Graphic; class GraphicFilter; class SwPostItMgr; enum class SotExchangeDest; +class SwCrsrShell; namespace com{ namespace sun { namespace star { namespace view{ class XSelectionSupplier; } @@ -541,7 +542,7 @@ public: void StateTabWin(SfxItemSet&); // attributes have changed - DECL_LINK( AttrChangedNotify, void* ); + DECL_LINK_TYPED( AttrChangedNotify, SwCrsrShell*, void ); // form control has been activated DECL_LINK_TYPED( FormControlActivated, LinkParamNone*, void ); |