diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-26 12:18:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-26 15:08:11 +0200 |
commit | 6c5a3f5ae337d615f43d21aa47d3d76847c52f99 (patch) | |
tree | fea6c42af93ff3a5adc6d2c89b920db4912080d0 /sc | |
parent | 5a0576db4b7c0e2597e71d454c87f43ffda74fd2 (diff) |
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.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |