diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-16 12:32:35 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-16 12:32:35 +0000 |
commit | 1cd3911a8dd76fab73a4cc4912f86222b0aa24d3 (patch) | |
tree | 01f8a61c30640085fc1f2a4363f44e67b79b020a /sw/source/ui/docvw | |
parent | 3d79c4764138b3718d5343c23d7f420cdadce7f6 (diff) |
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
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r-- | sw/source/ui/docvw/postit.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
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; } |