diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-11 14:27:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-11 18:14:04 +0200 |
commit | e3f53c5faae8e5e8e14dc1dbb27f8f184bd44b42 (patch) | |
tree | fcc7623c682f1424368c8009ce12e428d0419a7c | |
parent | 65bc6e12ef8a681ec4597635d0b3d86e9ac355d3 (diff) |
remove outdated comments
ever since
commit 722aa442977e5ca27ab05b4299d26346b5a4e883
convert some MAXCOL to use ScSheetLimits
Change-Id: I15bd107e1d0f81a5b3223c3d6995b4105f97ce01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102464
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 8ad1fec19f1b..d0bf33ae0d95 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -48,12 +48,10 @@ using namespace com::sun::star; // maximum values for UI static SCCOL SCNAV_MAXCOL(const ScSheetLimits& rLimits) { return rLimits.GetMaxColCount(); } -// macro is sufficient since only used in ctor static sal_Int32 SCNAV_COLDIGITS(const ScSheetLimits& rLimits) { return static_cast<sal_Int32>( floor( log10( static_cast<double>(SCNAV_MAXCOL(rLimits)))) ) + 1; // 1...256...18278 } -// precomputed constant because it is used in every change of spin button field static sal_Int32 SCNAV_COLLETTERS(const ScSheetLimits& rLimits) { return ::ScColToAlpha(SCNAV_MAXCOL(rLimits)).getLength(); // A...IV...ZZZ |