summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-04-15 12:27:55 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-04-15 15:50:07 +0200
commit77870621351acdeb116f7213bf8a6b064f422590 (patch)
tree28ff760426af5934437ca7633dd9f3f3eb8d6124 /configure.ac
parentd09a35bc10251ef0b66e06c6ffbb2d16332b318b (diff)
sw: avoid calling SwView::GetWrtShell() unconditionally from the SwView ctor
Regression from commit dfcfdf47b5da6a11b2c3118a0f63cc48c10c2cd7 (lok: get spelling context menu on long press, 2019-10-20), the problem was that GetWrtShell() returns a reference, and the underlying pointer can be nullptr till the SwView ctor is in progress. Fix the problem by not caring about spelling till the initial view is ready, that still provides the cursor position. (cherry picked from commit ae3342857350c805f536c1af2f560a117be12da8) Conflicts: sw/qa/extras/tiledrendering/tiledrendering.cxx Change-Id: I5580a1b36b83e0a4cb8495f41e7087c784f6c83c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92268 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions