From d2c9e289733df395b911a46c1028014f42e75f99 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 24 Nov 2019 20:26:22 +0100 Subject: cppcheck: performing init in init list (hwpfilter, i., l.) Change-Id: Idf5b7be45d48076fbe191fbf1a2fa63c6da71902 Reviewed-on: https://gerrit.libreoffice.org/83617 Tested-by: Jenkins Reviewed-by: Julien Nabet --- lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lingucomponent') diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 260c51f83981..cb15183964e7 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -72,11 +72,9 @@ static uno::Reference< XLinguServiceManager2 > GetLngSvcMgr_Impl() } Thesaurus::Thesaurus() : - aEvtListeners ( GetLinguMutex() ) + aEvtListeners ( GetLinguMutex() ), pPropHelper(nullptr), bDisposing(false), + prevLocale(LANGUAGE_DONTKNOW) { - bDisposing = false; - pPropHelper = nullptr; - prevLocale = LANGUAGE_DONTKNOW; } Thesaurus::~Thesaurus() -- cgit