summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-10 10:14:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-11 11:25:43 +0100
commit941f2c866a98ca7caf71a11732853da012cd25e4 (patch)
treed5879ca5a6c50c8258e62d343f4c90cf9a6127f5 /sc/source/ui
parentcd3990d1d8f212474dee1c1d989f005e4d9913a4 (diff)
convert more long -> tools::Long
found by grepping and changed by hand. Change-Id: I3c720859dba430fde3abc76c6c5cb58269efaf4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105512 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/inc/pvfundlg.hxx2
-rw-r--r--sc/source/ui/inc/viewdata.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/pvfundlg.hxx b/sc/source/ui/inc/pvfundlg.hxx
index 47891ece7a8d..4c74ceb4e04e 100644
--- a/sc/source/ui/inc/pvfundlg.hxx
+++ b/sc/source/ui/inc/pvfundlg.hxx
@@ -194,7 +194,7 @@ private:
DECL_LINK(DblClickHdl, weld::TreeView&, bool);
private:
- typedef std::unordered_map<OUString, long> DimNameIndexMap;
+ typedef std::unordered_map<OUString, tools::Long> DimNameIndexMap;
DimNameIndexMap maNameIndexMap;
ScDPObject& mrDPObj;
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 1895799f7531..4026c175e13e 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -121,7 +121,7 @@ class ScPositionHelper
{
public:
typedef SCCOLROW index_type;
- typedef std::pair<index_type, long> value_type;
+ typedef std::pair<index_type, tools::Long> value_type;
static_assert(std::numeric_limits<index_type>::is_signed, "ScPositionCache: index type is not signed");
private: