summaryrefslogtreecommitdiff
path: root/sfx2/workben
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/workben')
-rw-r--r--sfx2/workben/custompanel/ctp_panel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/workben/custompanel/ctp_panel.cxx b/sfx2/workben/custompanel/ctp_panel.cxx
index 2910add96009..6cde8e4e5fb9 100644
--- a/sfx2/workben/custompanel/ctp_panel.cxx
+++ b/sfx2/workben/custompanel/ctp_panel.cxx
@@ -114,7 +114,7 @@ namespace sd { namespace colortoolpanel
// retrieve the parent window for our to-be-created pane window
Reference< XWindowPeer > xParentPeer( i_rParentWindow, UNO_QUERY );
- osl_incrementInterlockedCount( &m_refCount );
+ osl_atomic_increment( &m_refCount );
if ( xParentPeer.is() )
{
m_xWindow = lcl_createPlainWindow_nothrow( i_rContext, xParentPeer );
@@ -126,7 +126,7 @@ namespace sd { namespace colortoolpanel
m_xWindow->setVisible( sal_True );
}
}
- osl_decrementInterlockedCount( &m_refCount );
+ osl_atomic_decrement( &m_refCount );
}
//------------------------------------------------------------------------------------------------------------------