sc/source/core/data/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 93285d1b5be6d03004ba810bab1c3dade0cfa027 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Aug 23 14:20:17 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Aug 23 20:31:09 2023 +0200 fix bug inScGlobal::CheckWidthInvalidate introduced in commit 6adabd915d931b845fcf2fef15fbf3fca14ec9b3 Author: Luboš Luňák <l.lu...@collabora.com> Date: Sun Mar 6 16:53:47 2022 +0100 faster check whether attributes have changed (tdf#117366) Change-Id: I6f4eadcda9bd59f7ae8eff61b66162223fdc9700 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155976 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> (cherry picked from commit fc2dc496434fdb6f0babde509ee22c2952d532d0) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155929 diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index 459798d1f26f..027bc5768a35 100644 --- a/sc/source/core/data/global.cxx +++ b/sc/source/core/data/global.cxx @@ -188,7 +188,7 @@ bool ScGlobal::CheckWidthInvalidate( bool& bNumFormatChanged, const SfxItemSet& rOldAttrs ) { std::optional<bool> equal = ScPatternAttr::FastEqualPatternSets( rNewAttrs, rOldAttrs ); - if( equal.has_value() && equal ) + if( equal.has_value() && *equal ) { bNumFormatChanged = false; return false;