editeng/source/editeng/impedit4.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 71aed9185fb17ee27bdc38b4ac650713c4cabb8b
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Wed Aug 12 14:16:11 2015 +0200

    tdf#93384 editeng rendercontext: don't paint spellcheck result directly
    
    E.g. in Writer create a new comment, type a word that is not in the
    dictionary, then a space to trigger the spelling, and that painted the
    spelling error indicator outside Paint().
    
    Change-Id: I8f72486189e04a5596729fb52b6af39772f8e002
    Reviewed-on: https://gerrit.libreoffice.org/17671
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>
    Tested-by: Jenkins <c...@libreoffice.org>

diff --git a/editeng/source/editeng/impedit4.cxx 
b/editeng/source/editeng/impedit4.cxx
index 4f4045cfe..fcc47af 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2407,8 +2407,7 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* 
pThisNodeOnly, bool bSpellAtC
                             {
                                 // convert to window coordinates ....
                                 aClipRect.SetPos( 
pView->pImpEditView->GetWindowPos( aClipRect.TopLeft() ) );
-                                // If selected, then VDev ...
-                                Paint( pView->pImpEditView, aClipRect, 0, 
pView->HasSelection() );
+                                
pView->pImpEditView->GetWindow()->Invalidate(aClipRect);
                             }
                         }
                     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to