diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-15 14:19:29 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-02-15 21:48:36 +0100 |
commit | 28cbc0dcb955954b4d9b85376f356999af429f06 (patch) | |
tree | 4ee43b7644aa6bf52c5031955f2b8fbe6b012594 /sc/inc | |
parent | 4343976f0d38d727786b15a353ad3d49e76a65b8 (diff) |
move nInt32Min/nInt32Max to ScBigRange and rename to nRangeMin/Max
Change-Id: I4537d6ebcd8293bc7a62651345a517ebfe901638
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129965
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/bigrange.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/bigrange.hxx b/sc/inc/bigrange.hxx index a9927b39a4b3..538d94dcb782 100644 --- a/sc/inc/bigrange.hxx +++ b/sc/inc/bigrange.hxx @@ -22,9 +22,6 @@ #include "address.hxx" #include "document.hxx" -const sal_Int32 nInt32Min = 0x80000000; -const sal_Int32 nInt32Max = 0x7fffffff; - // This is used by change tracking. References there may be located also outside of the document // (see ScRefUpdate::Update()), and so it needs bigger range than ScAddress/ScRange. @@ -148,6 +145,10 @@ public: { return (aStart == r.aStart) && (aEnd == r.aEnd); } bool operator!=( const ScBigRange& r ) const { return !operator==( r ); } + + // These are used to define whole rows/cols/tabs. + constexpr static sal_Int32 nRangeMin = 0x80000000; + constexpr static sal_Int32 nRangeMax = 0x7fffffff; }; inline bool ScBigRange::Contains( const ScBigAddress& rAddr ) const |