summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-26 08:40:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-26 11:02:34 +0200
commitc60d77aac98049c8f58ae780d1c01d10acce7f1a (patch)
tree6e26c420274142c328c12147bad6b87946c1037d /sc
parentde3cb0118af97d3ea8aafe4759ffc61073448de0 (diff)
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@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/sheetevents.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}