summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-26 15:25:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-26 20:05:21 +0100
commit2e2bd25b4a13758745aa9ae687c5d94a0f32bb6e (patch)
treef3f7b708b4ea66b4e4ccba8e85c07f5ef4fd13bd /sc
parent50cd7345dbafdf612f796fad8083e7ec0c7ace0c (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/undo/undodat.cxx2
1 files changed, 2 insertions, 0 deletions
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 )