summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-25 15:53:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 06:08:51 +0000
commita7ea18ffe715776cb0e2b39e98569c75605ee332 (patch)
tree1e32da87f2ad0e8d111ba8ed99180bb6b4cf2a77 /sw/source/core/docnode
parenteca5ea9f79181d45cd7fbabe2313617d3025818a (diff)
loplugin:expandablemethods in sw
Change-Id: Ibc9edc28f4041235ab30c026bd3774bd74b7e960 Reviewed-on: https://gerrit.libreoffice.org/30287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/docnode')
-rw-r--r--sw/source/core/docnode/threadmanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/threadmanager.cxx b/sw/source/core/docnode/threadmanager.cxx
index d82d84fdc7c7..89f97e575b7f 100644
--- a/sw/source/core/docnode/threadmanager.cxx
+++ b/sw/source/core/docnode/threadmanager.cxx
@@ -74,7 +74,7 @@ oslInterlockedCount ThreadManager::AddThread(
// create new thread
tThreadData aThreadData;
- oslInterlockedCount nNewThreadID( RetrieveNewThreadID() );
+ oslInterlockedCount nNewThreadID( osl_atomic_increment( &mnThreadIDCounter ) );
{
aThreadData.nThreadID = nNewThreadID;