Kaydet (Commit) 11cc73ec authored tarafından Miklos Vajna's avatar Miklos Vajna

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 b05ff2cc)
üst 27c28177
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment