diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 13:02:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:32 +0200 |
commit | 7ffa2184586a2339f80f0af41c303dad9e822390 (patch) | |
tree | 292c4f9a77e71a78058795c2e22e184fa86f1829 /editeng | |
parent | 81bec2e5535aeef7d6ae76f92124537d528f5c23 (diff) |
convert Link<> to typed
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 8 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 12 | ||||
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 06eb7a2f7e63..d4c0ba53b4a1 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -2687,23 +2687,23 @@ bool EditEngine::HasValidData( const css::uno::Reference< css::datatransfer::XTr } /** sets a link that is called at the beginning of a drag operation at an edit view */ -void EditEngine::SetBeginDropHdl( const Link<>& rLink ) +void EditEngine::SetBeginDropHdl( const Link<EditView*,void>& rLink ) { pImpEditEngine->SetBeginDropHdl( rLink ); } -Link<> EditEngine::GetBeginDropHdl() const +Link<EditView*,void> EditEngine::GetBeginDropHdl() const { return pImpEditEngine->GetBeginDropHdl(); } /** sets a link that is called at the end of a drag operation at an edit view */ -void EditEngine::SetEndDropHdl( const Link<>& rLink ) +void EditEngine::SetEndDropHdl( const Link<EditView*,void>& rLink ) { pImpEditEngine->SetEndDropHdl( rLink ); } -Link<> EditEngine::GetEndDropHdl() const +Link<EditView*,void> EditEngine::GetEndDropHdl() const { return pImpEditEngine->GetEndDropHdl(); } diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 50c583f00814..64d58a120272 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -487,8 +487,8 @@ private: Link<PasteOrDropInfos&,void> aBeginPasteOrDropHdl; Link<PasteOrDropInfos&,void> aEndPasteOrDropHdl; Link<LinkParamNone*,void> aModifyHdl; - Link<> maBeginDropHdl; - Link<> maEndDropHdl; + Link<EditView*,void> maBeginDropHdl; + Link<EditView*,void> maEndDropHdl; rtl::Reference<SvxForbiddenCharactersTable> xForbiddenCharsTable; @@ -996,12 +996,12 @@ public: static void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars ); /** sets a link that is called at the beginning of a drag operation at an edit view */ - void SetBeginDropHdl( const Link<>& rLink ) { maBeginDropHdl = rLink; } - Link<> GetBeginDropHdl() const { return maBeginDropHdl; } + void SetBeginDropHdl( const Link<EditView*,void>& rLink ) { maBeginDropHdl = rLink; } + Link<EditView*,void> GetBeginDropHdl() const { return maBeginDropHdl; } /** sets a link that is called at the end of a drag operation at an edit view */ - void SetEndDropHdl( const Link<>& rLink ) { maEndDropHdl = rLink; } - Link<> GetEndDropHdl() const { return maEndDropHdl; } + void SetEndDropHdl( const Link<EditView*,void>& rLink ) { maEndDropHdl = rLink; } + Link<EditView*,void> GetEndDropHdl() const { return maEndDropHdl; } /// specifies if auto-correction should capitalize the first word or not (default is on) void SetFirstWordCapitalization( bool bCapitalize ) { bFirstWordCapitalization = bCapitalize; } diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 18ad27cb33a4..8f740b5c1b7d 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -2016,13 +2016,13 @@ IMPL_LINK_TYPED( Outliner, EditEngineNotifyHdl, EENotify&, rNotify, void ) } /** sets a link that is called at the beginning of a drag operation at an edit view */ -void Outliner::SetBeginDropHdl( const Link<>& rLink ) +void Outliner::SetBeginDropHdl( const Link<EditView*,void>& rLink ) { pEditEngine->SetBeginDropHdl( rLink ); } /** sets a link that is called at the end of a drag operation at an edit view */ -void Outliner::SetEndDropHdl( const Link<>& rLink ) +void Outliner::SetEndDropHdl( const Link<EditView*,void>& rLink ) { pEditEngine->SetEndDropHdl( rLink ); } |