diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-18 08:22:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-18 13:15:16 +0200 |
commit | bbef07065433ecc33e22724e65974e2b7509929a (patch) | |
tree | d0a93ba39a959037cdf90d4a66beec7862802e6b /sw/source | |
parent | 7f445e42b6148c37c9de9180d1f192f585061479 (diff) |
cid#1619460 Uninitialized scalar field
since:
commit 4855bbfa4d0cbc6376ab2a40151886f84fafac40
CommitDate: Tue Sep 17 03:44:46 2024 +0200
tdf#132274 add zoom defaults to Writer options
Change-Id: Ie7dae9add87fe14c87b53d9b86d77a84ce0c2a7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173587
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/config/cfgitems.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/uibase/config/cfgitems.cxx b/sw/source/uibase/config/cfgitems.cxx index 3a1cb2bf4ca2..a041169dbba4 100644 --- a/sw/source/uibase/config/cfgitems.cxx +++ b/sw/source/uibase/config/cfgitems.cxx @@ -126,6 +126,9 @@ SwElemItem::SwElemItem(const SwViewOption& rVOpt) : m_bShowChangesInMargin = rVOpt.IsShowChangesInMargin(); m_bFieldHiddenText = rVOpt.IsShowHiddenField(); m_bShowHiddenPara = rVOpt.IsShowHiddenPara(); + m_bDefaultZoom = false; + m_eDefaultZoomType = rVOpt.GetZoomType(); + m_nDefaultZoomValue = rVOpt.GetZoom(); } SwElemItem* SwElemItem::Clone( SfxItemPool* ) const |