summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/SwGrammarContact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/SwGrammarContact.cxx')
-rw-r--r--sw/source/core/txtnode/SwGrammarContact.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx
index eadc16cfcd0d..78ea24427659 100644
--- a/sw/source/core/txtnode/SwGrammarContact.cxx
+++ b/sw/source/core/txtnode/SwGrammarContact.cxx
@@ -62,7 +62,7 @@ protected:
SwGrammarContact::SwGrammarContact() : mpProxyList(nullptr), mbFinished( false )
{
aTimer.SetTimeout( 2000 ); // Repaint of grammar check after 'setChecked'
- aTimer.SetTimeoutHdl( LINK(this, SwGrammarContact, TimerRepaint) );
+ aTimer.SetInvokeHandler( LINK(this, SwGrammarContact, TimerRepaint) );
aTimer.SetDebugName( "sw::SwGrammarContact TimerRepaint" );
}