replace misc double checked locking patterns

Desktop / LibreOffice - Jochen Nitschke [ok.de] - 17 June 2017 09:43 EDT

... with thread safe local statics

Change-Id: Ie3c8023776a388846b989f00a0be185273c0d5da Reviewed-on: https://gerrit.libreoffice.org/38907

6149da2 replace misc double checked locking patterns
stoc/source/javaloader/javaloader.cxx | 14 +++-----------
svl/source/numbers/zforlist.cxx | 19 ++++++-------------
svtools/source/config/helpopt.cxx | 13 ++-----------
svtools/source/config/menuoptions.cxx | 21 +++------------------
svtools/source/config/printoptions.cxx | 21 +++------------------
ucb/source/sorter/sortdynres.cxx | 13 ++-----------
ucb/source/sorter/sortresult.cxx | 13 ++-----------
unotools/source/config/syslocaleoptions.cxx | 19 ++++++-------------
unotools/source/misc/syslocale.cxx | 19 ++++++-------------
9 files changed, 33 insertions(+), 119 deletions(-)

Upstream: cgit.freedesktop.org


  • Share