summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-24 21:55:10 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-11-25 09:13:12 +0100
commitf2cd9c0c789b5825b4d5bb84b352d089e231e527 (patch)
tree95f6ecfaf25231ee4de3320995263780cd655792 /svtools
parente1cbd518118a5f2889213e5725e0e0a3c133de5d (diff)
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: If173f42302553b164267909a0a3156bb25a6d558 Reviewed-on: https://gerrit.libreoffice.org/63957 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/extcolorcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index de870e3370bd..9c5408111185 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -491,7 +491,7 @@ void ExtendedColorConfig_Impl::UnlockBroadcast()
m_bBroadcastWhenUnlocked = ExtendedColorConfig::m_pImpl != nullptr;
if ( m_bBroadcastWhenUnlocked )
{
- if ( ExtendedColorConfig::m_pImpl && ExtendedColorConfig::m_pImpl->m_bIsBroadcastEnabled )
+ if (ExtendedColorConfig::m_pImpl->m_bIsBroadcastEnabled)
{
m_bBroadcastWhenUnlocked = false;
ExtendedColorConfig::m_pImpl->Broadcast(SfxHint(SfxHintId::ColorsChanged));