[Libreoffice-commits] core.git: 2 commits - sd/source starmath/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 16 15:12:59 UTC 2018


 sd/source/ui/view/viewshel.cxx |    3 +++
 starmath/source/view.cxx       |    6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 0c1f93f3a2884d52b2ef329e87c7713bced17c33
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 16 14:44:26 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Oct 16 17:12:23 2018 +0200

    coverity#1440240 Uncaught exception
    
    Change-Id: I6342120377b018a9e4c363187c1399d59af2625d
    Reviewed-on: https://gerrit.libreoffice.org/61839
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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()
commit ab79dc909ac755dd66c08c942f8be6957b9d0cfc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 16 14:41:14 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Oct 16 17:12:11 2018 +0200

    coverity#1440239 Uncaught exception
    
    Change-Id: Ibecc931a53a58fc78f400e23e980f75def0f5935
    Reviewed-on: https://gerrit.libreoffice.org/61838
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 3486f9be2013..47917c01647f 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -1213,6 +1213,9 @@ class KeepSlideSorterInSyncWithPageChanges
     sd::slidesorter::controller::PageSelector::UpdateLock const m_aUpdateLock;
     sd::slidesorter::controller::SelectionObserver::Context const m_aContext;
 
+    KeepSlideSorterInSyncWithPageChanges& operator=(const KeepSlideSorterInSyncWithPageChanges&) = delete;
+    KeepSlideSorterInSyncWithPageChanges(const KeepSlideSorterInSyncWithPageChanges&) = delete;
+
 public:
     explicit KeepSlideSorterInSyncWithPageChanges(sd::slidesorter::SlideSorter const & rSlideSorter)
         : m_aDrawLock(rSlideSorter)


More information about the Libreoffice-commits mailing list