diff options
author | Justin Luth <justin_luth@sil.org> | 2017-02-18 19:20:24 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2017-05-26 07:33:13 +0200 |
commit | 6ae3d9d18d0069c9921a29bbe313e65084cd4a93 (patch) | |
tree | dec4f62376b1bc841ea1f64ad0c7f74986e4a610 /sd | |
parent | 6533c30f7f8b62671fef9e636c49b11127812ed1 (diff) |
tdf#101815 impress: redraw after ExecuteSpellPopup
After replacing a misspelled word, impress wasn't updating the screen
in outline or normal mode. This is attempt #2.
Change-Id: I3eb213a951d55faf9f5b36392f37bf2263851247
Reviewed-on: https://gerrit.libreoffice.org/34406
Tested-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 881b18306136..a89af7f4e69b 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -618,6 +618,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin) GetActiveWindow()->ReleaseMouse(); LockInput(); pOutlinerView->ExecuteSpellPopup(aPos, &aLink); + pOutlinerView->GetEditView().Invalidate(); UnlockInput(); } else diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 7586361979a4..39742f8b333b 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -30,6 +30,7 @@ #include <sot/exchange.hxx> #include <svx/ruler.hxx> #include <sfx2/zoomitem.hxx> +#include <editeng/editview.hxx> #include <editeng/eeitem.hxx> #include <editeng/flditem.hxx> #include <sfx2/shell.hxx> @@ -1367,6 +1368,7 @@ void OutlineViewShell::Command( const CommandEvent& rCEvt, ::sd::Window* pWin ) Link<SpellCallbackInfo&,void> aLink = LINK(GetDocSh(), DrawDocShell, OnlineSpellCallback); pOLV->ExecuteSpellPopup(aPos, &aLink); + pOLV->GetEditView().Invalidate(); } else { |