diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-09 11:00:58 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-10 10:13:38 +0200 |
commit | 11cc73ec9e04b8624168a4c3f218f14c9129f917 (patch) | |
tree | 3ea0ac605aacab7736f4c752f4c9ef7686d9062d | |
parent | 27c281770925786732acf4931ca13f7962dc2d32 (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.cxx | 4 |
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; |