sd/source/ui/framework/factories/BasicViewFactory.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
New commits: commit 45b51b142de36cfbb9765a68d00417d3b8dc9bda Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jan 29 16:25:55 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Jan 29 18:36:20 2020 +0100 cid#1401342 silence Uncaught exception Change-Id: Ie8ac9ccd289a6d1d2a359521c5e2b5b97b1aeff5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87699 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index 83601e413e2b..13e98c6d0825 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -331,11 +331,9 @@ std::shared_ptr<ViewShell> BasicViewFactory::CreateViewShell ( } else if (rsViewURL == FrameworkHelper::msDrawViewURL) { - pViewShell = - std::make_shared<GraphicViewShell>( - *mpBase, - &rWindow, - pFrameView); + pViewShell = std::shared_ptr<GraphicViewShell>( + new GraphicViewShell(*mpBase, &rWindow, pFrameView), + o3tl::default_delete<GraphicViewShell>()); pViewShell->GetContentWindow()->set_id("draw_win"); } else if (rsViewURL == FrameworkHelper::msOutlineViewURL) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits