diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-01 14:54:13 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-01 14:55:05 +0200 |
commit | a8a812997f654b47cde547cbf3d97684cd06a9d3 (patch) | |
tree | 78cbad7530d94a646bc96007f2c93f9fb60ed7f6 /sd | |
parent | 0cc41a033f74891ac9b47f0d1c0b291f8341a2a1 (diff) |
tdf#92341 Make Autocorrect entry actually work
Change-Id: I83e028428933e2153b639ca6b34fd69db88fb53f
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc4.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx index 3121a1aa3e2f..84aaae171ed7 100644 --- a/sd/source/core/drawdoc4.cxx +++ b/sd/source/core/drawdoc4.cxx @@ -988,10 +988,9 @@ void SdDrawDocument::ImpOnlineSpellCallback(SpellCallbackInfo* pInfo, SdrObject* StartOnlineSpelling(); } else if (nCommand == SpellCallbackCommand::STARTSPELLDLG) - { - SfxViewFrame::Current()->GetDispatcher()->Execute( SID_SPELL_DIALOG, - SfxCallMode::ASYNCHRON ); - } + SfxViewFrame::Current()->GetDispatcher()->Execute( SID_SPELL_DIALOG, SfxCallMode::ASYNCHRON ); + else if (nCommand == SpellCallbackCommand::AUTOCORRECT_OPTIONS) + SfxViewFrame::Current()->GetDispatcher()->Execute( SID_AUTO_CORRECT_DLG, SfxCallMode::ASYNCHRON ); } // Replace the unambiguous names of the default layers by their names in the |