sc/source/ui/undo/undodat.cxx | 2 ++ sw/source/uibase/config/modcfg.cxx | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-)
New commits: commit 2e2bd25b4a13758745aa9ae687c5d94a0f32bb6e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Feb 26 15:25:47 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Feb 26 20:05:21 2022 +0100 cid#1500566 Uninitialized scalar field Change-Id: Idd0e3d461f84a5ec476d77fde9c8ab03b4dbbbd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130597 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index 5fdf3917aa6b..006527d7bacd 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -1690,6 +1690,8 @@ ScUndoChartData::ScUndoChartData( ScDocShell* pNewDocShell, const OUString& rNam bool bAdd ) : ScSimpleUndo( pNewDocShell ), aChartName( rName ), + bOldColHeaders(false), + bOldRowHeaders(false), bNewColHeaders( bColHdr ), bNewRowHeaders( bRowHdr ), bAddRange( bAdd ) commit 50cd7345dbafdf612f796fad8083e7ec0c7ace0c Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Feb 26 15:24:15 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Feb 26 20:05:09 2022 +0100 cid#1500568 Uninitialized scalar field Change-Id: I0d6fb3b378d890daf5efbef588fdb0fe40fb625d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130596 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 3f690795b41d..2b80d8127b74 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -229,8 +229,9 @@ const Sequence<OUString>& SwRevisionConfig::GetPropertyNames() return aNames; } -SwRevisionConfig::SwRevisionConfig() : - ConfigItem("Office.Writer/Revision", ConfigItemMode::ReleaseTree) +SwRevisionConfig::SwRevisionConfig() + : ConfigItem("Office.Writer/Revision", ConfigItemMode::ReleaseTree) + , m_nMarkAlign(0) { m_aInsertAttr.m_nItemId = SID_ATTR_CHAR_UNDERLINE; m_aInsertAttr.m_nAttr = LINESTYLE_SINGLE;