diff options
Diffstat (limited to 'sd/source/ui/toolpanel/ToolPanelViewShell.cxx')
-rw-r--r-- | sd/source/ui/toolpanel/ToolPanelViewShell.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx index fae7729860c7..0f75235624ee 100644 --- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx +++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx @@ -297,11 +297,11 @@ ConfigurationListener::ConfigurationListener( ToolPanelViewShell_Impl& i_rShellI xBroadcaster.set( pFrameworkHelper->GetConfigurationController().get() ); ENSURE_OR_THROW( pFrameworkHelper.get(), "no access to the config controller" ); - osl_incrementInterlockedCount( &m_refCount ); + osl_atomic_increment( &m_refCount ); { xBroadcaster->addConfigurationChangeListener( this, ::rtl::OUString(), Any() ); } - osl_decrementInterlockedCount( &m_refCount ); + osl_atomic_decrement( &m_refCount ); } // --------------------------------------------------------------------------------------------------------------------- |