summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-29 16:58:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-29 17:17:52 +0100
commitbe6cba5e3cd31fea6bd2130fc10c44239e4c1ed1 (patch)
tree64874b39159cece9a8265a5838375d50607649f7 /sw
parent5aaf20ef674c36ab634b1d3ee71141c97d0f804e (diff)
coverity#1210174 Uninitialized scalar field
Change-Id: Ie9d104df391fd0581943a1c91421cfc08c95709e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/fldui/flddok.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx
index 95bc444fd064..1260773c8867 100644
--- a/sw/source/ui/fldui/flddok.cxx
+++ b/sw/source/ui/fldui/flddok.cxx
@@ -37,6 +37,8 @@
SwFldDokPage::SwFldDokPage(Window* pParent, const SfxItemSet& rCoreSet )
: SwFldPage(pParent, "FldDocumentPage",
"modules/swriter/ui/flddocumentpage.ui", rCoreSet)
+ , nOldSel(0)
+ , nOldFormat(0)
{
get(m_pSelection, "selectframe");
get(m_pFormat, "formatframe");