diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-11-22 08:15:34 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-22 12:14:53 +0000 |
commit | aad80e0b9a9f481fb608f1681f6e8bc280872da8 (patch) | |
tree | 289e05ad98a9622f720a6bdbca0a7c719e901354 /configmgr/source/components.cxx | |
parent | 0d6cd1a86bdbfdb4dcb763ef2b4ff06f3d465032 (diff) |
cppcheck:useInitializationList
Change-Id: I744ff3e268fbffca9499121f3567640934aaae51
Reviewed-on: https://gerrit.libreoffice.org/20110
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'configmgr/source/components.cxx')
-rw-r--r-- | configmgr/source/components.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx index 17df486e6814..b1b4b725c579 100644 --- a/configmgr/source/components.cxx +++ b/configmgr/source/components.cxx @@ -170,9 +170,9 @@ Components::WriteThread::WriteThread( rtl::Reference< WriteThread > * reference, Components & components, OUString const & url, Data const & data): Thread("configmgrWriter"), reference_(reference), components_(components), - url_(url), data_(data) + url_(url), data_(data), + lock_( lock() ) { - lock_ = lock(); assert(reference != nullptr); } |