cid#1619460 Uninitialized scalar field

since:

commit 4855bbfa4d
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>
This commit is contained in:
Caolán McNamara
2024-09-18 08:22:46 +01:00
parent 7f445e42b6
commit bbef070654

View File

@@ -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