[Libreoffice-commits] core.git: editeng/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 4 08:28:34 UTC 2019


 editeng/source/editeng/editview.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 57a93c8cabff4581301d26d736f0cb078cf86d11
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Apr 3 12:03:18 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 4 10:28:05 2019 +0200

    this line is equivalent to InvalidateAtWindow
    
    Change-Id: I4f718710c778e25f92f97ed2e7e7d9d01ed99e6b
    Reviewed-on: https://gerrit.libreoffice.org/70212
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index 18408c38d9bf..5e89f4f8f565 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -234,8 +234,8 @@ void EditView::InvalidateOtherViewWindows( const tools::Rectangle& rInvRect )
 void EditView::Invalidate()
 {
     const tools::Rectangle& rInvRect = GetInvalidateRect();
-    pImpEditView->GetWindow()->Invalidate( rInvRect );
-    InvalidateOtherViewWindows( rInvRect );
+    pImpEditView->InvalidateAtWindow(rInvRect);
+    InvalidateOtherViewWindows(rInvRect);
 }
 
 void EditView::SetReadOnly( bool bReadOnly )


More information about the Libreoffice-commits mailing list