[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jul 26 09:03:02 UTC 2018


 sc/source/core/data/sheetevents.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c60d77aac98049c8f58ae780d1c01d10acce7f1a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 26 08:40:53 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 26 11:02:34 2018 +0200

    crashtesting: crash on loading ooo126177-3.ods
    
    since...
    
    commit 5be0637827cd987b7b7dda7ca2c54a3548d9ef51
    Date:   Mon Jun 25 16:46:32 2018 +0200
    
        loplugin:useuniqueptr in ScSheetEvents
    
    Change-Id: Ia20f6c8dfc1fcde49e35c07415f336f49ef79a28
    Reviewed-on: https://gerrit.libreoffice.org/58037
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/core/data/sheetevents.cxx b/sc/source/core/data/sheetevents.cxx
index b8f0430e2101..507bca6d1c64 100644
--- a/sc/source/core/data/sheetevents.cxx
+++ b/sc/source/core/data/sheetevents.cxx
@@ -89,7 +89,7 @@ ScSheetEvents& ScSheetEvents::operator=(const ScSheetEvents& rOther)
     {
         mpScriptNames.reset( new boost::optional<OUString>[COUNT] );
         for (sal_Int32 nEvent=0; nEvent<COUNT; ++nEvent)
-            mpScriptNames[nEvent] = *rOther.mpScriptNames[nEvent];
+            mpScriptNames[nEvent] = rOther.mpScriptNames[nEvent];
     }
     return *this;
 }


More information about the Libreoffice-commits mailing list