diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-05 14:27:45 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-10-15 22:13:59 +0200 |
commit | c2f4b7132c1733320cda7b1774e32956ee91bc69 (patch) | |
tree | b9c33c3ae95349420afd9a77a62da7cad1c15736 | |
parent | c7314329e0fae32cbdd3dce5fcef267ebad6a016 (diff) |
ubsan error seen export to ods
sc/source/filter/xml/XMLExportIterator.cxx:722:30: runtime error: load of value 5, which is not a valid value for type 'bool'
Change-Id: I3cf4b6f0a4036a764e976cac6e1b91e298948e13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157612
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit 77de4babe762e831f818cfc53ba4223575a981bf)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157616
-rw-r--r-- | sc/source/filter/xml/XMLExportIterator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLExportIterator.cxx b/sc/source/filter/xml/XMLExportIterator.cxx index 6d8c408f19ec..bff7e8498642 100644 --- a/sc/source/filter/xml/XMLExportIterator.cxx +++ b/sc/source/filter/xml/XMLExportIterator.cxx @@ -712,7 +712,7 @@ bool ScMyNotEmptyCellsIterator::GetNext(ScMyCell& aCell, ScFormatRangeStyles* pC pDetectiveOp->SetCellData( aCell ); HasAnnotation( aCell ); - bool bIsAutoStyle; + bool bIsAutoStyle(false); // Ranges before the previous cell are not needed by ExportFormatRanges anymore and can be removed SCROW nRemoveBeforeRow = aLastAddress.Row(); aCell.nStyleIndex = pCellStyles->GetStyleNameIndex(aCell.maCellAddress.Tab(), |