summaryrefslogtreecommitdiff
path: root/embedserv/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-24 10:43:47 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-11-24 14:14:20 +0100
commit0be61adb0771a9bc0386b6e8d90e4bffd8dfa0e7 (patch)
tree991a018b9ba73a494e4376e64f7aebcb8aa58c40 /embedserv/source
parent4582222a3ade99584514a86dbaddf0c80f7e7196 (diff)
cppcheck: performing init in init list (dbaccess/desktop/dtrans/e.)
Change-Id: I7909df04a550a4fa843a70d20b5192231c3f175e Reviewed-on: https://gerrit.libreoffice.org/83600 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'embedserv/source')
-rw-r--r--embedserv/source/embed/servprov.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx
index 09ef6211724e..3557fa33257c 100644
--- a/embedserv/source/embed/servprov.cxx
+++ b/embedserv/source/embed/servprov.cxx
@@ -56,9 +56,8 @@ class CurThreadData
oslThreadKey m_hKey;
};
-CurThreadData::CurThreadData()
+CurThreadData::CurThreadData() : m_hKey(osl_createThreadKey( nullptr ))
{
- m_hKey = osl_createThreadKey( nullptr );
}
CurThreadData::~CurThreadData()