diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 09:59:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 12:05:38 +0200 |
commit | c9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a (patch) | |
tree | 2cb864a67b556f807ba175507296f7dfc5254944 /basctl | |
parent | 8c4a1663f5d93380268365d35a5581d8065df897 (diff) |
Use typed Idle::SetIdleHdl Link
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 3 | ||||
-rw-r--r-- | basctl/source/inc/dlged.hxx | 2 |
4 files changed, 4 insertions, 7 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 749bf2315f74..d71ae5a07653 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -87,7 +87,7 @@ private: Idle aSyntaxIdle; typedef std::set<sal_uInt16> SyntaxLineSet; SyntaxLineSet aSyntaxLineTable; - DECL_LINK(SyntaxTimerHdl, void *); + DECL_LINK_TYPED(SyntaxTimerHdl, Idle *, void); // progress bar class ProgressInfo; diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 5182ebdb6931..f35739649684 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1289,7 +1289,7 @@ void EditorWindow::DoDelayedSyntaxHighlight( sal_uLong nPara ) } } -IMPL_LINK_NOARG(EditorWindow, SyntaxTimerHdl) +IMPL_LINK_NOARG_TYPED(EditorWindow, SyntaxTimerHdl, Idle *, void) { DBG_ASSERT( pEditView, "Noch keine View, aber Syntax-Highlight ?!" ); @@ -1312,8 +1312,6 @@ IMPL_LINK_NOARG(EditorWindow, SyntaxTimerHdl) aSyntaxLineTable.clear(); bHighlightning = false; - - return 0; } void EditorWindow::ParagraphInsertedDeleted( sal_uLong nPara, bool bInserted ) diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 5ce766ffc823..1c7946dbb7dc 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -574,10 +574,9 @@ void DlgEditor::Paint( const Rectangle& rRect ) } -IMPL_LINK_NOARG(DlgEditor, MarkTimeout) +IMPL_LINK_NOARG_TYPED(DlgEditor, MarkTimeout, Idle *, void) { rLayout.UpdatePropertyBrowser(); - return 1; } diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index af9ad3c8e41d..3b1c25b7faae 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -102,7 +102,7 @@ public: }; private: - DECL_LINK(MarkTimeout, void *); + DECL_LINK_TYPED(MarkTimeout, Idle *, void); static void Print( Printer* pPrinter, const OUString& rTitle ); |