diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-26 14:17:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-28 07:21:59 +0100 |
commit | 6436302f40252bc6619e304e2051115fee902e20 (patch) | |
tree | a32659b4fecc9fbf8fad3e379ddd8645a2a52e0b /include | |
parent | 35f16614ee7ddf518d4c01de6b1d800f5ff1ba7e (diff) |
convert some more long -> tools::Long
grepping for stuff in template params this time
Change-Id: Ia37bfd85480b3a72c3c465489581d56ad8dde851
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104855
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/txtrange.hxx | 4 | ||||
-rw-r--r-- | include/svx/xtable.hxx | 2 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolkit/treelistbox.hxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/editeng/txtrange.hxx b/include/editeng/txtrange.hxx index 1898a364966b..e6509291d388 100644 --- a/include/editeng/txtrange.hxx +++ b/include/editeng/txtrange.hxx @@ -37,7 +37,7 @@ class EDITENG_DLLPUBLIC TextRanger struct RangeCacheItem { Range range; //!< Range for which we calculated results. - std::deque<long> results; //!< Calculated results for the range. + std::deque<tools::Long> results; //!< Calculated results for the range. RangeCacheItem(const Range& rng) : range(rng) {}; }; std::deque<RangeCacheItem> mRangeCache; //!< Cached range calculations. @@ -63,7 +63,7 @@ public: sal_uInt16 nCacheSize, sal_uInt16 nLeft, sal_uInt16 nRight, bool bSimple, bool bInner, bool bVert = false ); ~TextRanger(); - std::deque<long>* GetTextRanges( const Range& rRange ); + std::deque<tools::Long>* GetTextRanges( const Range& rRange ); sal_uInt16 GetRight() const { return nRight; } sal_uInt16 GetLeft() const { return nLeft; } sal_uInt16 GetUpper() const { return nUpper; } diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx index d7a16f4f01ff..2c48fc7b1006 100644 --- a/include/svx/xtable.hxx +++ b/include/svx/xtable.hxx @@ -175,7 +175,7 @@ public: XPropertyListType Type() const { return meType; } tools::Long Count() const; - void Insert(std::unique_ptr<XPropertyEntry> pEntry, tools::Long nIndex = std::numeric_limits<long>::max()); + void Insert(std::unique_ptr<XPropertyEntry> pEntry, tools::Long nIndex = std::numeric_limits<tools::Long>::max()); void Replace(std::unique_ptr<XPropertyEntry> pEntry, tools::Long nIndex); void Remove(tools::Long nIndex); diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index d67ab24ffb21..e91bb629ff1d 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -222,8 +222,8 @@ private: VclButtonBoxStyle m_eLayoutStyle; struct Requisition { - std::vector<long> m_aMainGroupDimensions; - std::vector<long> m_aSubGroupDimensions; + std::vector<tools::Long> m_aMainGroupDimensions; + std::vector<tools::Long> m_aSubGroupDimensions; Size m_aMainGroupSize; Size m_aSubGroupSize; }; diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx index 379401ac7ea5..199f37c093e8 100644 --- a/include/vcl/toolkit/treelistbox.hxx +++ b/include/vcl/toolkit/treelistbox.hxx @@ -664,7 +664,7 @@ public: SvTreeListEntry* GetNextEntryInView(SvTreeListEntry*) const; void ScrollToAbsPos( tools::Long nPos ); - tools::Long getPreferredDimensions(std::vector<long> &rWidths) const; + tools::Long getPreferredDimensions(std::vector<tools::Long> &rWidths) const; virtual Size GetOptimalSize() const override; |