diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-12 11:56:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-12 10:31:02 +0000 |
commit | 65828fa693507d699369f0dbc3c0bfc31638d945 (patch) | |
tree | 349b21c55e68dd1ffc2335a42aa30331b07ffe7e /sw/Library_sw.mk | |
parent | 3943147ab341f1e4d1c6db34405010085488b0b1 (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: https://gerrit.libreoffice.org/28832
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/Library_sw.mk')
0 files changed, 0 insertions, 0 deletions