summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-29 20:56:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-29 20:56:29 +0100
commit38d61128467aedc2935443be21c38168f5e00df6 (patch)
tree0ed5306f5d7125a921efb04ad3353902ce24ee5c /sw/source/uibase
parentebf5a786cadfc562ed9ec05ca9fd751068868d89 (diff)
coverity#1373423 Uninitialized scalar field
Change-Id: I893bd383a6865e066de7aa0093d2d2642d89e82f
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx
index b53227532e95..1576c6ac8678 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.cxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.cxx
@@ -94,6 +94,11 @@ namespace sw { namespace sidebar {
PageMarginControl::PageMarginControl( sal_uInt16 nId )
: SfxPopupWindow( nId, "PageMarginControl", "modules/swriter/ui/pagemargincontrol.ui" )
+ , m_nPageLeftMargin(0)
+ , m_nPageRightMargin(0)
+ , m_nPageTopMargin(0)
+ , m_nPageBottomMargin(0)
+ , m_bMirrored(false)
, m_eUnit( lcl_GetUnit() )
, m_bUserCustomValuesAvailable( false )
, m_nUserCustomPageLeftMargin( 0 )