tdf#153510: STYLE: try harder to detect when there's nothing to do
commit95be711bfbcb733eb114d1ff842c0c69f393f81e
authorMike Kaganski <mike.kaganski@collabora.com>
Fri, 10 Feb 2023 13:04:46 +0000 (10 16:04 +0300)
committerMike Kaganski <mike.kaganski@collabora.com>
Tue, 21 Feb 2023 13:09:17 +0000 (21 13:09 +0000)
treec71f8b520c55f9fa60d6662a5fd400f4917cf466
parent747d528305e160fb6f4f9c6a66010b920c6cfe23
tdf#153510: STYLE: try harder to detect when there's nothing to do

1. Find the real style names early, to avoid re-triggering style
application when STYLE arguments use wrong case;
2. Also check a (rare) case when both immediate and delayed styles
are the same as currently applied.

Change-Id: Id8ab2e321ede6d0f8f05ac5d1e63ade0212e5865
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146775
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 208a4ecafafa97ea7fcc5a135fa8160e91ea0a74)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146791
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
sc/inc/stlpool.hxx
sc/source/core/data/stlpool.cxx
sc/source/core/tool/interpr2.cxx
sc/source/ui/docshell/docsh4.cxx