diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-22 15:11:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-22 18:56:06 +0000 |
commit | 32cbfd1addeb37f302ed309e7a383e2cadc84520 (patch) | |
tree | 8312821bde89fdbeabc51ebbb6416ac4faa97149 /include | |
parent | a829ba593c921a2b6b5fce7f216f48ee9d6c3812 (diff) |
convert Link<> to typed
Change-Id: Ifb8ccbbed6d7d00f15fa8cff5dfdcd5d55de0d5f
Reviewed-on: https://gerrit.libreoffice.org/18773
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/outliner.hxx | 4 | ||||
-rw-r--r-- | include/svx/svdedxv.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index c7cc67626d4c..77ae2e0dd41d 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -215,7 +215,7 @@ private: EDITENG_DLLPRIVATE void ImpPasted( sal_Int32 nStart, sal_Int32 nPrevParaCount, sal_Int32 nSize); EDITENG_DLLPRIVATE sal_Int32 ImpCalcSelectedPages( bool bIncludeFirstSelected ); - Link<> aEndCutPasteLink; + Link<LinkParamNone*,void> aEndCutPasteLink; public: OutlinerView( Outliner* pOut, vcl::Window* pWindow ); @@ -376,7 +376,7 @@ public: OUString GetSurroundingText() const; Selection GetSurroundingTextSelection() const; - void SetEndCutPasteLinkHdl(const Link<> &rLink) { aEndCutPasteLink = rLink; } + void SetEndCutPasteLinkHdl(const Link<LinkParamNone*,void> &rLink) { aEndCutPasteLink = rLink; } }; diff --git a/include/svx/svdedxv.hxx b/include/svx/svdedxv.hxx index bec7338688b8..0bb7fb6073c1 100644 --- a/include/svx/svdedxv.hxx +++ b/include/svx/svdedxv.hxx @@ -116,7 +116,7 @@ protected: // Chaining void ImpChainingEventHdl(); - DECL_LINK(ImpAfterCutOrPasteChainingEventHdl,void*); + DECL_LINK_TYPED(ImpAfterCutOrPasteChainingEventHdl, LinkParamNone*, void); // Check if the whole text is selected. |