lok: Don't even iterate through the redlines when they are disabled.
commit8f44a939ad09d0365607ae8960e2abfe77e3fe72
authorJan Holesovsky <kendy@collabora.com>
Tue, 24 Nov 2020 14:34:55 +0000 (24 15:34 +0100)
committerMiklos Vajna <vmiklos@collabora.com>
Tue, 24 Nov 2020 15:40:01 +0000 (24 16:40 +0100)
tree1dd648e74c76c0ea264610b9a738631a2be8d559
parent4d0464dab81628cf7a6ea81e430091e321c034d0
lok: Don't even iterate through the redlines when they are disabled.

It is not necessary, when we are not issuing any output anyway.

Change-Id: Id952549befb1bef04a2dd9237d286922939eaae2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106509
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
sw/source/core/doc/docredln.cxx