sc/source/ui/app/scmod.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6c5a3f5ae337d615f43d21aa47d3d76847c52f99 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Aug 26 12:18:06 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Aug 26 15:08:11 2024 +0200 p is already checked against m_pColorConfig.get in outside condition Change-Id: I6c5d51b395b742fa6cc5fc7d49b08bddb19e1f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172390 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 16ce1d3278a5..dec004ece9e2 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -213,7 +213,7 @@ void ScModule::ConfigurationChanged(utl::ConfigurationBroadcaster* p, Configurat bool bSkipInvalidate = false; const bool bKit = comphelper::LibreOfficeKit::isActive(); - if (bKit && p == m_pColorConfig.get()) + if (bKit) { SfxViewShell* pSfxViewShell = SfxViewShell::Current(); ScTabViewShell* pViewShell = dynamic_cast<ScTabViewShell*>(pSfxViewShell);