summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undodat.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-04 15:20:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-04 22:36:58 +0100
commitb35571c348eb8816098f7c8786d8cc8ff9082f19 (patch)
treee7fa4ccbd58abe1c8f313a31641431bfed62ad62 /sc/source/ui/undo/undodat.cxx
parent9007ca10a3f2e11fabcd7bed74cf28da2920ce2f (diff)
cid#1500566 Uninitialized scalar field
Change-Id: I63e81377227ab35a0697a1d90fb3c9302a12a2b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130999 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/undo/undodat.cxx')
-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 006527d7bacd..1ab89a8b543f 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -1707,6 +1707,8 @@ ScUndoChartData::ScUndoChartData( ScDocShell* pNewDocShell, const OUString& rNam
bool bAdd ) :
ScSimpleUndo( pNewDocShell ),
aChartName( rName ),
+ bOldColHeaders(false),
+ bOldRowHeaders(false),
aNewRangeListRef( rNew ),
bNewColHeaders( bColHdr ),
bNewRowHeaders( bRowHdr ),