summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-30 12:34:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 15:26:09 +0100
commit4c9879922d0c77ecc79e6e321ecf9df9e7511218 (patch)
tree47848d49f7e69a948d6dada86f6cee6f8167ff63 /sw/source/ui
parent9ea63828211294bfdea4fda340466ddb5d0c48b3 (diff)
coverity#738907 Uninitialized scalar field
Change-Id: I2c82911f47aa6c0fff489e5a4cfd4d171981c722
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/frmdlg/wrap.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/wrap.cxx b/sw/source/ui/frmdlg/wrap.cxx
index 03d6384c063d..cdf91ac4b1e8 100644
--- a/sw/source/ui/frmdlg/wrap.cxx
+++ b/sw/source/ui/frmdlg/wrap.cxx
@@ -64,14 +64,18 @@ SwWrapDlg::SwWrapDlg(Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, bool bD
SwWrapTabPage::SwWrapTabPage(Window *pParent, const SfxItemSet &rSet)
: SfxTabPage(pParent, "WrapPage" , "modules/swriter/ui/wrappage.ui", rSet)
+ , nOldLeftMargin(0)
+ , nOldRightMargin(0)
+ , nOldUpperMargin(0)
+ , nOldLowerMargin(0)
, nAnchorId(FLY_AT_PARA)
, nHtmlMode(0)
, pWrtSh(0)
, bFormat(false)
, bNew(true)
, bHtmlMode(false)
+ , bDrawMode(false)
, bContourImage(false)
-
{
get(m_pNoWrapRB, "none");
get(m_pWrapLeftRB, "before");