summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-16 14:44:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-16 17:12:23 +0200
commit0c1f93f3a2884d52b2ef329e87c7713bced17c33 (patch)
treef35b2cb270514421b51796db43bb35f990a0be0d /starmath
parentab79dc909ac755dd66c08c942f8be6957b9d0cfc (diff)
coverity#1440240 Uncaught exception
Change-Id: I6342120377b018a9e4c363187c1399d59af2625d Reviewed-on: https://gerrit.libreoffice.org/61839 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx6
1 files changed, 5 insertions, 1 deletions
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<sfx2::DocumentInserter> pDocInserter;
std::unique_ptr<SfxRequest> pRequest;
SvtMiscOptions const aOpts;
};
-
SFX_IMPL_SUPERCLASS_INTERFACE(SmViewShell, SfxViewShell)
void SmViewShell::InitInterface_Impl()