diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-23 12:22:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-23 16:36:07 +0200 |
commit | dbf02b8b6c34313affda860fc6c5bbc64839b2d9 (patch) | |
tree | 5c69ab9e7b2d62c7940d316459d1544c18d3aa8e /sc/source/ui/docshell/docsh.cxx | |
parent | 6055814a98a764117cd95adf2bbab91fa34456c2 (diff) |
sc: rowcol: tdf#50916 convert docshell
Change-Id: I52c641bfba397134ad5ed2a9e8005f8959092303
Reviewed-on: https://gerrit.libreoffice.org/81381
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 d0f246e73d12..556d4645f50b 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -405,7 +405,7 @@ void processDataStream( ScDocShell& rShell, const sc::ImportPostProcessData& rDa ScRange aTopRange = r.maRange; aTopRange.aEnd.SetRow(aTopRange.aStart.Row()); sal_Int32 nLimit = r.maRange.aEnd.Row() - r.maRange.aStart.Row() + 1; - if (r.maRange.aEnd.Row() == MAXROW) + if (r.maRange.aEnd.Row() == rShell.GetDocument().MaxRow()) // Unlimited range. nLimit = 0; |