diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 10:40:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:32 +0200 |
commit | 073b5e877eaae2dac44900a855ce8ca3cb60a782 (patch) | |
tree | 203bbeb159cdec425414bbd0ffbea062f426e121 /include/editeng | |
parent | cd015186a0b30eefba1ce283a7cbb9e0f0d5e598 (diff) |
convert Link<> to typed
Change-Id: Ie40dff6f1c40bf1866dc9947479299412abfd5ad
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editeng.hxx | 4 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 90fc7cc408fa..6f0d5fb7a60e 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -460,8 +460,8 @@ public: CreateTransferable( const ESelection& rSelection ) const; // MT: Can't create new virtual functions like for ParagraphInserted/Deleted, musst be compatible in SRC638, change later... - void SetBeginMovingParagraphsHdl( const Link<>& rLink ); - void SetEndMovingParagraphsHdl( const Link<>& rLink ); + void SetBeginMovingParagraphsHdl( const Link<MoveParagraphsInfo&,void>& rLink ); + void SetEndMovingParagraphsHdl( const Link<MoveParagraphsInfo&,void>& rLink ); void SetBeginPasteOrDropHdl( const Link<>& rLink ); void SetEndPasteOrDropHdl( const Link<>& rLink ); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 99223e98b87f..f925847e9868 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -618,8 +618,8 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster sal_uLong nDummy; DECL_LINK( ParaVisibleStateChangedHdl, Paragraph* ); - DECL_LINK( BeginMovingParagraphsHdl, void* ); - DECL_LINK( EndMovingParagraphsHdl, MoveParagraphsInfo* ); + DECL_LINK_TYPED( BeginMovingParagraphsHdl, MoveParagraphsInfo&, void ); + DECL_LINK_TYPED( EndMovingParagraphsHdl, MoveParagraphsInfo&, void ); DECL_LINK( BeginPasteOrDropHdl, PasteOrDropInfos* ); DECL_LINK( EndPasteOrDropHdl, PasteOrDropInfos* ); DECL_LINK_TYPED( EditEngineNotifyHdl, EENotify&, void ); |