summaryrefslogtreecommitdiff
path: root/canvas/workben
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-10-26 12:32:25 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-10-27 08:23:02 +0200
commit453178d33d76248ead90c3547b2f140d8e7bb998 (patch)
tree9fea6bb8e190ba0f3aaf7b3b393fce868b7df1b0 /canvas/workben
parent5b7e88d007173e9567299226371a8efda23e7dd9 (diff)
remove useless check from SfxViewShell::GetFirst()/GetNext()
This comes from https://bz.apache.org/ooo/show_bug.cgi?id=62084 , but it's unclear to me what the steps to reproduce actually mean. If it's print preview, then I can't reproduce, and all tests work fine too. This code is called very often from LOK code in a loop, and this check makes it O(n^2), so remove it under the assumption that the problem no longer exists, only keep an assert just in case. Change-Id: I0e7ed03ef370aa32f2064c587b242e1ffaff73b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124185 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'canvas/workben')
0 files changed, 0 insertions, 0 deletions