https://bugs.documentfoundation.org/show_bug.cgi?id=155822
Mike Kaganski <mikekagan...@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |difficultyBeginner, | |easyHack, skillCpp Ever confirmed|0 |1 --- Comment #1 from Mike Kaganski <mikekagan...@hotmail.com> --- https://opengrok.libreoffice.org/xref/core/sc/source/ui/unoobj/cellsuno.cxx?r=3e7ff2a9&mo=189177&fi=3757#3757 introduced in the initial import. It looks reasonable to throw an error when the initial check (pDocShell && xDesc.is()) fails, and if it passes, it seems possible to create an empty ScRangeList right away, and create the returned ScCellRangesObj with it unconditionally before return. The easyhack needs a unit test. -- You are receiving this mail because: You are the assignee for the bug.