diff options
Diffstat (limited to 'sd/workben')
-rw-r--r-- | sd/workben/custompanel/ctp_panel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/workben/custompanel/ctp_panel.cxx b/sd/workben/custompanel/ctp_panel.cxx index c87611101f94..85a976313ed9 100644 --- a/sd/workben/custompanel/ctp_panel.cxx +++ b/sd/workben/custompanel/ctp_panel.cxx @@ -132,7 +132,7 @@ namespace sd { namespace colortoolpanel { DBG_UNHANDLED_EXCEPTION(); } - osl_incrementInterlockedCount( &m_refCount ); + osl_atomic_increment( &m_refCount ); if ( xParentWindow.is() ) { m_xWindow = lcl_createPlainWindow_nothrow( m_xContext, xParentPeer ); @@ -144,7 +144,7 @@ namespace sd { namespace colortoolpanel m_xWindow->setVisible( sal_True ); } } - osl_decrementInterlockedCount( &m_refCount ); + osl_atomic_decrement( &m_refCount ); } //------------------------------------------------------------------------------------------------------------------ |