path: root/sw/source/core/crsr
diff options
authorMiklos Vajna <>2016-09-12 11:56:02 +0200
committerMiklos Vajna <>2016-09-12 10:31:02 +0000
commit65828fa693507d699369f0dbc3c0bfc31638d945 (patch)
tree349b21c55e68dd1ffc2335a42aa30331b07ffe7e /sw/source/core/crsr
parent3943147ab341f1e4d1c6db34405010085488b0b1 (diff)
sw: implement SdrMarkView::GetSfxViewShell() API
With this, the graphic selection is no longer lost when creating a new view. That happened as the SwView ctor calls SdrMarkView::SetMarkHandles() while the new view is not yet current, which resulted clearing the graphic selection in the old view, not in the new one. A side-effect of introducing SwDrawView::GetSfxViewShell() is that now SwView::getPart() is called from the SwView dtor, guard against doing any real work there in that situation to avoid potentially reading already deleted data. Change-Id: I4fab39a907d2cbe228c0fc8d44bedc64893387d1 Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins <>
Diffstat (limited to 'sw/source/core/crsr')
0 files changed, 0 insertions, 0 deletions