summaryrefslogtreecommitdiff
path: root/svtools/source/config/extcolorcfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/config/extcolorcfg.cxx')
-rw-r--r--svtools/source/config/extcolorcfg.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 96e61e566572..3fd760171bc1 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -125,7 +125,6 @@ public:
static void DisableBroadcast();
static void EnableBroadcast();
- static bool IsEnableBroadcast();
static void LockBroadcast();
static void UnlockBroadcast();
@@ -224,11 +223,6 @@ void ExtendedColorConfig_Impl::EnableBroadcast()
ExtendedColorConfig::m_pImpl->m_bIsBroadcastEnabled = true;
}
-bool ExtendedColorConfig_Impl::IsEnableBroadcast()
-{
- return ExtendedColorConfig::m_pImpl && ExtendedColorConfig::m_pImpl->m_bIsBroadcastEnabled;
-}
-
void lcl_addString(uno::Sequence < OUString >& _rSeq,const OUString& _sAdd)
{
OUString* pIter = _rSeq.getArray();
@@ -516,7 +510,7 @@ void ExtendedColorConfig_Impl::UnlockBroadcast()
m_bBroadcastWhenUnlocked = ExtendedColorConfig::m_pImpl != nullptr;
if ( m_bBroadcastWhenUnlocked )
{
- if ( ExtendedColorConfig_Impl::IsEnableBroadcast() )
+ if ( ExtendedColorConfig::m_pImpl && ExtendedColorConfig::m_pImpl->m_bIsBroadcastEnabled )
{
m_bBroadcastWhenUnlocked = false;
ExtendedColorConfig::m_pImpl->Broadcast(SfxHint(SFX_HINT_COLORS_CHANGED));