[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sw/source
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 18 14:12:02 UTC 2019
sw/source/uibase/uiview/viewdraw.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 34790afec30024569a66108fa4d875ab054ab938
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Apr 9 16:33:40 2019 -0400
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Sep 18 16:11:09 2019 +0200
sw lok: fix "Cannot deselect the shape after inserting the first in a...
document"
Change-Id: I976318fe299306b65190b4f5ae0ed2565830c6f7
Reviewed-on: https://gerrit.libreoffice.org/70475
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Reviewed-by: Henry Castro <hcastro at collabora.com>
(cherry picked from commit 304425807e9172ac7a85d5f17fceba2735218409)
Reviewed-on: https://gerrit.libreoffice.org/79090
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index 8420e9f3a9f5..278fe1baf8c8 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -346,6 +346,10 @@ void SwView::ExecDraw(SfxRequest& rReq)
{
m_pWrtShell->GotoObj(true);
}
+ else if (dynamic_cast<ConstCustomShape*>(pTempFuncPtr))
+ {
+ pTempFuncPtr->CreateDefaultObject();
+ }
else
{
pTempFuncPtr->CreateDefaultObject();
More information about the Libreoffice-commits
mailing list