https://bugs.documentfoundation.org/show_bug.cgi?id=166564

--- Comment #6 from Saburo <[email protected]> ---
Freeze point
Temporary files exceed 10GB
Version: 7.1.7.0.0+ / LibreOffice Community
author  Xisco Fauli
commit  476ad4fe6f62e7b5880f70aa67bfba702fbdef4e

tdf#143940: the style index might be -1
Similar to 52aebe6986bcec07071adb3f94d6c09fea147044
< tdf#138466 Crash when creating different scenarios >

ExportColumns calls GetStyleNameIndex which might return -1
so check the index is different than -1 as it's already done
when calling ScFormatRangeStyles::GetStyleNameByIndex

Also move fix for tdf#138466 down the stack to be consistent

Debug builds will still assert, see coverity#1438402

Since 5e777f23fd0118f6649f0d9e30eb77a72f1099e4
< loplugin:useuniqueptr in ScColumnRowStylesBase >
where the nIndex < 0 check in
ScColumnRowStylesBase::GetStyleNameByIndex was removed

Change-Id: I084bfa04c39f37cb325c3b3df76801b3abdea994
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121128

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to