From 1cd3911a8dd76fab73a4cc4912f86222b0aa24d3 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Wed, 16 Jul 2008 12:32:35 +0000 Subject: INTEGRATION: CWS tl55 (1.5.32); FILE MERGED 2008/07/07 15:13:12 tl 1.5.32.2: RESYNC: (1.5-1.7); FILE MERGED 2008/06/16 15:39:04 os 1.5.32.1: #i90144# Rework spelling dialog for grammar checking --- sw/source/ui/docvw/postit.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sw/source/ui/docvw') diff --git a/sw/source/ui/docvw/postit.cxx b/sw/source/ui/docvw/postit.cxx index 3b206217f572..c21e7706f531 100644 --- a/sw/source/ui/docvw/postit.cxx +++ b/sw/source/ui/docvw/postit.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: postit.cxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.8 $ * * This file is part of OpenOffice.org. * @@ -348,11 +348,8 @@ void PostItTxt::MouseButtonUp( const MouseEvent& rMEvt ) IMPL_LINK(PostItTxt, OnlineSpellCallback, SpellCallbackInfo*, pInfo) { - if (mpPostIt) - { - if ( pInfo->nCommand == SPELLCMD_STARTSPELLDLG) - mpPostIt->DocView()->GetViewFrame()->GetDispatcher()->Execute( SID_SPELL_DIALOG, SFX_CALLMODE_ASYNCHRON); - } + if (mpPostIt && pInfo->nCommand == SPELLCMD_STARTSPELLDLG) + mpPostIt->DocView()->GetViewFrame()->GetDispatcher()->Execute( FN_SPELL_GRAMMAR_DIALOG, SFX_CALLMODE_ASYNCHRON); return 0; } -- cgit