From c8646d9e0083c0cacb61c9eff02704a4f18bb5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 22 May 2014 20:46:19 +0100 Subject: [PATCH] coverity#1215400 Uninitialized scalar field Change-Id: Ie82c16d7d7b3f4fed09bed1d6adec32d5d3934e5 --- svx/source/dialog/langbox.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 028e33df15ba..4d9b3dd7ec9a 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -136,8 +136,11 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxLanguageComboBox(Window SvxLanguageBoxBase::SvxLanguageBoxBase( bool bCheck ) - : m_pSpellUsedLang( NULL ) - , m_bWithCheckmark( bCheck ) + : m_pSpellUsedLang(NULL) + , m_nLangList(LANG_LIST_EMPTY) + , m_bHasLangNone(false) + , m_bLangNoneIsLangAll(false) + , m_bWithCheckmark(bCheck) { }