diff options
author | Marek Doležel <marekdolezel@gmail.com> | 2015-07-06 15:54:43 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2015-07-06 14:43:11 +0000 |
commit | ae20b8147307de84318598be72977abc3f7bdda9 (patch) | |
tree | c1abd37a977227663e22c6c4d4795b3a6252232f /sd | |
parent | e03244c94d83ca5fdd6f3ed62ce7ece4afd51b53 (diff) |
tdf79312: disable auto-close spelling dialog for sw, sd
Change-Id: Ib7ea6624ac6b112779b0e64b08805538b8d6afff
Reviewed-on: https://gerrit.libreoffice.org/16796
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
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; } |