diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-11-27 11:43:10 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-11-30 13:17:44 +0100 |
commit | f98af92e2bbc2064ddc18b80ede68f4267813ddf (patch) | |
tree | 8299871c62b44dabc843c32518a35d4cec77c5d0 /cppcanvas | |
parent | cb25771fedd12725a72a1eb4f532698d8221c0f2 (diff) |
clean up ScDocumentThreadSpecific
IIRC there has always been a bit of an overlap between
ScDocumentThreadSpecific and ScInterpreterContext, but it has evolved
over time into the current state, which AFAICT is that
ScDocumentThreadSpecific is just a thread_local aggregate
of thread-specific data (including ScInterpreterContext) and
ScInterpreterContext is the actual storage used for passing data
around (including to/from the worker threads). So remove obsolete
parts of ScDocumentThreadSpecific, including the functions
for moving data to/from threads (they do not do anything, they
even can't do anything because the struct is thread_local, and
they have already been incorrectly converted to static by loplugin).
Change-Id: I81fff7c83df151413a5387b3173af60f122f374a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106759
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'cppcanvas')
0 files changed, 0 insertions, 0 deletions