tdf#80390 Use local copy in anonymous function.
commit695e8742da850bbb15c2e6d2b5d4c99a0daf4925
authorSahil Gautam <sahil@libreoffice.org>
Sun, 21 Apr 2024 17:54:50 +0000 (21 23:24 +0530)
committerStephan Bergmann <stephan.bergmann@allotropia.de>
Sun, 21 Apr 2024 21:15:17 +0000 (21 23:15 +0200)
tree2711dd49d0e34ae3e175fc9a65a1f1a17d1bf0e8
parentae5e743f90fbb4e7016d6d9f4c22bce971a5f5cb
tdf#80390 Use local copy in anonymous function.

The nCount object might go out of scope, as it's used by
an async function.

https://gerrit.libreoffice.org/c/core/+/164316/comments/507b830b_001a71eb

Change-Id: I4218f6e35b61704115047481cb97a193c593a072
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154750
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
sc/source/ui/view/cellsh1.cxx