diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/SpellDialogChildWindow.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sd/source/ui/dlg/SpellDialogChildWindow.cxx b/sd/source/ui/dlg/SpellDialogChildWindow.cxx index e52e3dbd269d..574ba97eb773 100644 --- a/sd/source/ui/dlg/SpellDialogChildWindow.cxx +++ b/sd/source/ui/dlg/SpellDialogChildWindow.cxx @@ -19,9 +19,6 @@ #include "SpellDialogChildWindow.hxx" #include <svx/svxids.hrc> -#include <sfx2/app.hxx> -#include <sfx2/bindings.hxx> -#include <sfx2/dispatch.hxx> namespace sd{ @@ -77,19 +74,6 @@ svx::SpellPortions SpellDialogChildWindow::GetNextWrongSentence( bool /*bRecheck ProvideOutliner(); aResult = mpSdOutliner->GetNextSpellSentence(); } - - // Close the spell check dialog when there are no more sentences to - // check. - if (aResult.empty()) - { - SfxBoolItem aItem (SID_SPELL_DIALOG, false); - GetBindings().GetDispatcher()->Execute( - SID_SPELL_DIALOG, - SfxCallMode::ASYNCHRON, - &aItem, - 0L); - } - return aResult; } |