xlnt/source/styles
Markus Färber cef67bdc45 Fix format::number_format
In case number_format() is called on a format that does not have
format ID set, number_format() dereferences
d_->parent->number_formats.end() causing a crash.
This might happen when calling cell::is_date() on a cell that has type
'number' without a number format but some other styling set.
This might never occur in spreadsheet files created by commercial
applications but xlnt certainly allows to create such a file.
We therefore fix number_format here by returning the general number
format as a fallback.
2022-05-10 14:50:20 +02:00
..
alignment.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
border.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
color.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
conditional_format.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
fill.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
font.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
format.cpp Fix format::number_format 2022-05-10 14:50:20 +02:00
number_format.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
protection.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
style.cpp fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00