impress: don't exit textbox editing when new slide was added
commitbd93f5cec54350b6f07c5b7cd4987ea3762e3f40
authorSzymon Kłos <szymon.klos@collabora.com>
Thu, 25 Mar 2021 16:21:35 +0000 (25 17:21 +0100)
committerSzymon Kłos <szymon.klos@collabora.com>
Tue, 13 Apr 2021 12:25:04 +0000 (13 14:25 +0200)
tree6f007978d9579d636d50cc96f0791f9452802666
parentf6d1da91ccda960d1ee738d688a2cb374e576aef
impress: don't exit textbox editing when new slide was added

When new slide is added by other user before currently visible slide
then SwitchPage is called and textbox editing is ended.

Avoid any focus change when setPart is called just for rendering
or SwitchPage is used on previously avtive slide (only slide numer changed).

Change-Id: I7fef42b863e0079acc84dadfc3f891548652b48f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113144
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113806
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
12 files changed:
desktop/source/lib/init.cxx
include/vcl/ITiledRenderable.hxx
sc/inc/docuno.hxx
sc/source/ui/unoobj/docuno.cxx
sd/qa/unit/tiledrendering/tiledrendering.cxx
sd/source/ui/inc/DrawViewShell.hxx
sd/source/ui/inc/unomodel.hxx
sd/source/ui/unoidl/unomodel.cxx
sd/source/ui/view/drviews1.cxx
sd/source/ui/view/drviews3.cxx
sw/inc/unotxdoc.hxx
sw/source/uibase/uno/unotxdoc.cxx