[Libreoffice-commits] core.git: svtools/source

Stephan Bergmann sbergman at redhat.com
Mon Aug 28 09:20:47 UTC 2017


 svtools/source/contnr/svimpbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4e298b48d5822acf626d2f664181efdc601b8cd4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Aug 28 11:16:27 2017 +0200

    Consistently use oslInterlockedCount for SvImpLBox::s_nImageRefCount
    
    Change-Id: I40eb4a09a8b5461fca4ac01662cb88156d2ff37d

diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 5e36b36f385d..0fde08e46f6b 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -45,7 +45,7 @@
 // #i27063# (pl), #i32300# (pb) never access VCL after DeInitVCL - also no destructors
 Image*  SvImpLBox::s_pDefCollapsed      = nullptr;
 Image*  SvImpLBox::s_pDefExpanded       = nullptr;
-sal_Int32 SvImpLBox::s_nImageRefCount   = 0;
+oslInterlockedCount SvImpLBox::s_nImageRefCount   = 0;
 
 SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinStyle)
     : aHorSBar(VclPtr<ScrollBar>::Create(pLBView, WB_DRAG | WB_HSCROLL))


More information about the Libreoffice-commits mailing list