summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-09-16 16:53:03 +0200
committerMichael Stahl <michael.stahl@cib.de>2020-09-17 12:32:27 +0200
commit806b82d89f3bdf7ac0f9c25df15d40f8817f3353 (patch)
tree1f81bf3405e28a142d89494c306a3a134f2a9c81 /sc/source
parentbfd4ffdc7d168c00c040e1986e3d2a0ffc9501a2 (diff)
sw: fix crash in SwInputWindow::ApplyFormula()
pView is null because the constructor is called from: 10 0x00007fcf1e4d5796 in SfxDispatcher::Update_Impl(bool) (this=0x70a8f40, bForce=false) at sfx2/source/control/dispatch.cxx:1112 11 0x00007fcf1e975c97 in SfxBaseController::ConnectSfxFrame_Impl(SfxBaseController::ConnectSfxFrame) (this=0x72684f0, i_eConnect=SfxBaseController::E_CONNECT) at sfx2/source/view/sfxbasecontroller.cxx:1249 but the active is set later, from: 0 SfxApplication::SetViewFrame_Impl(SfxViewFrame*) (this=0x38f32d0, pFrame=0x7255b30) at sfx2/source/appl/app.cxx:265 1 0x00007fcf1e99025c in SfxViewFrame::SetViewFrame(SfxViewFrame*) (pFrame=0x7255b30) at sfx2/source/view/viewfrm.cxx:3326 2 0x00007fcf1e989181 in SfxViewFrame::MakeActive_Impl(bool) (this=0x7255b30, bGrabFocus=true) at sfx2/source/view/viewfrm.cxx:1931 3 0x00007fcf1e975d2d in SfxBaseController::ConnectSfxFrame_Impl(SfxBaseController::ConnectSfxFrame) (this=0x72684f0, i_eConnect=SfxBaseController::E_CONNECT) at sfx2/source/view/sfxbasecontroller.cxx:1253 This can only be reproduced if the SwInputWindow is visible in the configuration, but it is closed automatically on document close, so not sure how i got into this situation; Ctrl+C while it's visible can reproduce this anyway. Change-Id: Iae2c7b6044bfea5cb627804d3b88dde2a83732bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102875 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sc/source')
0 files changed, 0 insertions, 0 deletions