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

Miklos Vajna vmiklos at collabora.co.uk
Thu Jul 9 02:23:53 PDT 2015


 svx/source/svdraw/svdedxv.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit b05ff2cc713601730393123f6daa95e41df3b6ea
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jul 9 11:00:58 2015 +0200

    Related: tdf#92645 svx rendercontext: avoid direct paint on ending text edit
    
    If the Paint() is ~immediate after Invalidate() (which is the case
    since the main loop has priorities), it makes no sense to
    perform any kind of direct paint right after an Invalidate().
    
    With this, we no longer hit the is_double_buffered_window() assert when
    returning to editing Writer text after editing draw shape text.
    
    Change-Id: I3b80ca08aa71d247fc0561133f907aef34de4001

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 78b7bae..92c369f 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -1022,10 +1022,6 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally)
             InvalidateOneWin(*pWin,aRect);
             pWin->SetFillColor();
             pWin->SetLineColor(COL_BLACK);
-            pWin->DrawPixel(aRect.TopLeft());
-            pWin->DrawPixel(aRect.TopRight());
-            pWin->DrawPixel(aRect.BottomLeft());
-            pWin->DrawPixel(aRect.BottomRight());
         }
         // and now the Outliner itself
         if (!bTextEditDontDelete) delete pTEOutliner;


More information about the Libreoffice-commits mailing list