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

--- Comment #6 from Mike Kaganski <mikekagan...@hotmail.com> ---
We actually do create a new object each time a range object is requested (see
e.g. ScTableSheetsObj::GetObjectByIndex_Impl[1], which implements functionality
of XIndexAccess::getByIndex). So at least in case of range objects (which have
their range read-only, thus for all uses should be considered "same" when refer
to same range), we need some special casing to check if they are objects of the
same type (e.g., one could be "sheet", and the other "all cells, but not
sheet", and these are different objects), and then refer to the same range.

https://git.libreoffice.org/core/+/1c3eb7e329cd2eaeb83068907ba0c9a5b3ef7852/sc/source/ui/unoobj/docuno.cxx#3577

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to