From 00dfa6dc890dbbc8140fe613599becb5e4c55486 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 7 Jun 2019 11:12:31 +0200 Subject: tdf#117347 sw form controls: fix disappearing FixedText when editing TextField This is nominally a regression from commit af11abf3626e12d2b4b7dd9d255c6c71bf84cd4b (SwViewShell::ImplEndAction: still paint directly when non-double-buffering, 2015-09-01), but that just uncovered an already existing problem introduced earlier in commit 2b26c1796d0a05f47cfb01d79ee4f69344efbbb2 (tdf#92577 sw rendercontext: paint transparent from controls conditionally, 2015-07-06). Given that the first commit (as a side-effect) solved the problem the second commit tried to solve, it's safe to just revert this. (Sadly we have no way to test incremental paints with a reasonable amount of effort, so no testcase.) Change-Id: Ia59efbf45a0cd5af3580914e1dcee74d89068f03 Reviewed-on: https://gerrit.libreoffice.org/73647 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/source/core/view/viewsh.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index ae1bc40512d0..66775b933a8d 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -430,8 +430,8 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd ) DLPostPaint2(true); } } - else - lcl_PaintTransparentFormControls(*this, aRect); // i#107365 + + lcl_PaintTransparentFormControls(*this, aRect); // i#107365 } } if( bShowCursor ) -- cgit