diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-09 21:26:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-10 08:22:13 +0200 |
commit | 722aa442977e5ca27ab05b4299d26346b5a4e883 (patch) | |
tree | d5abcf9859ddc143c6ddb2b8d1db73d3438afce1 /sc/inc/sheetlimits.hxx | |
parent | d865ae748ae3b1d054051b89938eaef30680e06c (diff) |
convert some MAXCOL to use ScSheetLimits
part of the jumbo-sheet work
Change-Id: Idbde4f56543a35e2f9f784ebaa0a40608610688b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102336
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/sheetlimits.hxx')
-rw-r--r-- | sc/inc/sheetlimits.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/sheetlimits.hxx b/sc/inc/sheetlimits.hxx index 60b6f86ea424..31df9d43793b 100644 --- a/sc/inc/sheetlimits.hxx +++ b/sc/inc/sheetlimits.hxx @@ -59,6 +59,8 @@ struct ScSheetLimits final : public salhelper::SimpleReferenceObject // equivalent of MAXROWCOUNT in address.hxx SCROW GetMaxRowCount() const { return mnMaxRow + 1; } + // equivalent of MAXCOLCOUNT in address.hxx + SCCOL GetMaxColCount() const { return mnMaxCol + 1; } }; #endif |