sd/source/ui/view/drviews4.cxx |    1 +
 sd/source/ui/view/outlnvsh.cxx |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit 6ae3d9d18d0069c9921a29bbe313e65084cd4a93
Author: Justin Luth <justin_l...@sil.org>
Date:   Sat Feb 18 19:20:24 2017 +0300

    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_l...@sil.org>
    Reviewed-by: Justin Luth <justin_l...@sil.org>

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
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to