diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-01 09:59:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-01 10:27:56 +0100 |
commit | 450c15a1181ef9aee0bdaa01bae06dd91c86acba (patch) | |
tree | 288aeeb33c34f6fad92412296c74438d02633563 /sc/source/ui/view/gridwin.cxx | |
parent | fa3d4fea73c7c9d5f8790e8b4708776ef3eaab21 (diff) |
avoid coverity#1371264 Missing move assignment operator
Change-Id: I5085b0a04cf24b8d4678165371e44dc3556300e3
Diffstat (limited to 'sc/source/ui/view/gridwin.cxx')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 34a491409d08..f58f500e666a 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5515,9 +5515,7 @@ bool ScGridWindow::ContinueOnlineSpelling() ScHorizontalCellIterator aIter( pDoc, nTab, maVisibleRange.mnCol1, mpSpellCheckCxt->maPos.mnRow, maVisibleRange.mnCol2, maVisibleRange.mnRow2); - ScRangeList aPivotRanges; - if (pDPs) - aPivotRanges = pDPs->GetAllTableRanges(nTab); + ScRangeList aPivotRanges = pDPs ? pDPs->GetAllTableRanges(nTab) : ScRangeList(); SCCOL nCol; SCROW nRow; |