sw lok comments: optimize sidebar text control invalidation
Instead of invalidating the whole area, invalidate the sub-widget when the whole area of the sub-widget would be invalidated. With this, a test comment with enough comment to have a scrollbar results in 3 paintTile() calls instead of 11 ones (70% save). (cherry picked from commit 9ece5c87) Conflicts: sw/source/uibase/docvw/SidebarTxtControl.cxx Change-Id: I2fe317549eefac9a63aaf50f5a9a242e15c4dc86
Showing
Please
register
or
sign in
to comment