[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Thu Sep 29 19:59:30 UTC 2016


 sw/source/uibase/sidebar/PageMarginControl.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 38d61128467aedc2935443be21c38168f5e00df6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 29 20:56:29 2016 +0100

    coverity#1373423 Uninitialized scalar field
    
    Change-Id: I893bd383a6865e066de7aa0093d2d2642d89e82f

diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx
index b532275..1576c6a 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 )


More information about the Libreoffice-commits mailing list