summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-03 15:21:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-03 22:00:18 +0200
commitaaeb63a9e2dcde768d6fd8d4cc8a9ad13185851b (patch)
treea5785a6548f92fc76e28f7e18fdbedc163bc938f
parenta11a21570e357fddef10f436d8b1e9e27e0bc7ce (diff)
coverity#1435272 Uninitialized pointer field
Change-Id: I93d9c9d97845be92b42d5aaf8c7f6b4f2f1f837d Reviewed-on: https://gerrit.libreoffice.org/53800 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/ui/envelp/envfmt.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx
index 4d264417f664..2862d520c57e 100644
--- a/sw/source/ui/envelp/envfmt.cxx
+++ b/sw/source/ui/envelp/envfmt.cxx
@@ -116,6 +116,7 @@ static long lUserH = 5669; // 10 cm
SwEnvFormatPage::SwEnvFormatPage(TabPageParent pParent, const SfxItemSet& rSet)
: SfxTabPage(pParent, "modules/swriter/ui/envformatpage.ui", "EnvFormatPage", &rSet)
+ , m_pDialog(nullptr)
, m_xAddrLeftField(m_xBuilder->weld_metric_spin_button("leftaddr", FUNIT_CM))
, m_xAddrTopField(m_xBuilder->weld_metric_spin_button("topaddr", FUNIT_CM))
, m_xAddrEditButton(m_xBuilder->weld_menu_button("addredit"))