diff options
-rw-r--r-- | sc/qa/unit/data/qpro/pass/ofz40008-1.wb2 | bin | 0 -> 372 bytes | |||
-rw-r--r-- | sc/source/core/data/table5.cxx | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/data/qpro/pass/ofz40008-1.wb2 b/sc/qa/unit/data/qpro/pass/ofz40008-1.wb2 Binary files differnew file mode 100644 index 000000000000..d4adc7d484c9 --- /dev/null +++ b/sc/qa/unit/data/qpro/pass/ofz40008-1.wb2 diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 646984b7c699..e885f4c704bd 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -1148,7 +1148,8 @@ void ScTable::EndListening(sc::EndListeningContext& rCxt, const ScAddress& rAddr if (!ValidCol(rAddress.Col())) return; - aCol[rAddress.Col()].EndListening(rCxt, rAddress, rListener); + if (rAddress.Col() < aCol.size()) + aCol[rAddress.Col()].EndListening(rCxt, rAddress, rListener); } void ScTable::SetPageStyle(const OUString& rName) |