summaryrefslogtreecommitdiffstats
path: root/reportdesign/source/ui/report/StartMarker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/report/StartMarker.cxx')
-rw-r--r--reportdesign/source/ui/report/StartMarker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx
index 8a191bae5ca5..fe52a140e123 100644
--- a/reportdesign/source/ui/report/StartMarker.cxx
+++ b/reportdesign/source/ui/report/StartMarker.cxx
@@ -65,7 +65,7 @@ OStartMarker::OStartMarker(OSectionWindow* _pParent,const ::rtl::OUString& _sCol
DBG_CTOR( rpt_OStartMarker,NULL);
SetUniqueId(HID_RPT_STARTMARKER);
- osl_incrementInterlockedCount(&s_nImageRefCount);
+ osl_atomic_increment(&s_nImageRefCount);
initDefaultNodeImages();
ImplInitSettings();
m_aText.SetHelpId(HID_RPT_START_TITLE);
@@ -90,7 +90,7 @@ OStartMarker::OStartMarker(OSectionWindow* _pParent,const ::rtl::OUString& _sCol
OStartMarker::~OStartMarker()
{
DBG_DTOR( rpt_OStartMarker,NULL);
- if ( osl_decrementInterlockedCount(&s_nImageRefCount) == 0 )
+ if ( osl_atomic_decrement(&s_nImageRefCount) == 0 )
{
DELETEZ(s_pDefCollapsed);
DELETEZ(s_pDefExpanded);