summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-18 17:32:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-18 21:08:40 +0100
commit2179871c1f28871749680ecc7dc3191770684129 (patch)
tree1ed2c6c57178ffa24d8356d211f5a87212e9cfe7 /sw
parent4cb71eca76ca5572f059e4af79ea1578cf766869 (diff)
coverity#1371445 Uninitialized scalar field
Change-Id: Ib9d2cf811b86cadee77877c6d294505e985b0111
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/lingu/olmenu.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx
index 48d2e74e7357..44616df8c917 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -267,6 +267,7 @@ SwSpellPopup::SwSpellPopup(
) : PopupMenu( SW_RES(MN_SPELL_POPUP) )
, m_pSh( pWrtSh )
, m_xSpellAlt(xAlt)
+ , m_nGrammarError(0)
, m_bGrammarResults(false)
{
OSL_ENSURE(m_xSpellAlt.is(), "no spelling alternatives available");