diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-24 16:19:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-25 20:47:45 +0200 |
commit | bb124949140ce37f081340168f64a69b8bc5668b (patch) | |
tree | 98c4249770189c06baae31ba585566283f7d9de2 /sc/source/ui/docshell/docsh.cxx | |
parent | e2cea687d4275c31b780bfe8307daed552e45da0 (diff) |
change pointers to references where never possible to be nullptrs
and drop some null checks then shown not to be needed
Change-Id: I2806eeb64f43072a34aecd46424dbd063a119b7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103356
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index e1532db4a063..809f44de340f 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -1991,7 +1991,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt SCROW nEmptyRow; SvNumberFormatter& rFormatter = *m_aDocument.GetFormatTable(); - ScHorizontalCellIterator aIter( &m_aDocument, nTab, nStartCol, nStartRow, + ScHorizontalCellIterator aIter( m_aDocument, nTab, nStartCol, nStartRow, nEndCol, nEndRow ); ScRefCellValue* pCell; while ( ( pCell = aIter.GetNext( nCol, nRow ) ) != nullptr ) |