summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-09 11:00:58 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:56:01 +0200
commitb0fd59da4dea311a3c36928a5f6e19351d6b8c1e (patch)
tree1e79adde1ba35f34912dac6e5fc111dab3a149ec
parentadb841792031b59703b67c92a7d2f66085ca4640 (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 (cherry picked from commit b05ff2cc713601730393123f6daa95e41df3b6ea)
-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 e06571a86aaf..8b51df00bd9d 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;