From 0c1f93f3a2884d52b2ef329e87c7713bced17c33 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Oct 2018 14:44:26 +0100 Subject: coverity#1440240 Uncaught exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6342120377b018a9e4c363187c1399d59af2625d Reviewed-on: https://gerrit.libreoffice.org/61839 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- starmath/source/view.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index ddf9623a0656..60a74840a233 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -851,12 +851,16 @@ SmCmdBoxWrapper::SmCmdBoxWrapper(vcl::Window *pParentWindow, sal_uInt16 nId, struct SmViewShell_Impl { +private: + SmViewShell_Impl& operator=(const SmViewShell_Impl&) = delete; + SmViewShell_Impl(const SmViewShell_Impl&) = delete; +public: + SmViewShell_Impl() = default; std::unique_ptr pDocInserter; std::unique_ptr pRequest; SvtMiscOptions const aOpts; }; - SFX_IMPL_SUPERCLASS_INTERFACE(SmViewShell, SfxViewShell) void SmViewShell::InitInterface_Impl() -- cgit v1.2.3