summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-09 11:00:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-09 11:20:08 +0200
commitb05ff2cc713601730393123f6daa95e41df3b6ea (patch)
treed43b4e0d2ad4dbb4c111c724d2d16bb8c63dd4fc
parente6a0ef5eeea7b353541d1c45b5b3c8c11344ab41 (diff)
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
-rw-r--r--svx/source/svdraw/svdedxv.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 78b7bae53cf8..92c369f6bfa3 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;