summaryrefslogtreecommitdiff
path: root/include/editeng/sizeitem.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:13:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-20 10:08:05 +0200
commitf886d9cacba197cb92a75317fe7d24280dff6436 (patch)
tree8e95e9fc79121eb9d09a18022e253904a1ff184f /include/editeng/sizeitem.hxx
parent9a59220e82fa87d70db2735bed502846d0f9df05 (diff)
use tools::Long in editeng
Change-Id: Ib7014c353489461ad9489d9f3fefd59a32f8f877 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104524 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/sizeitem.hxx')
-rw-r--r--include/editeng/sizeitem.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/editeng/sizeitem.hxx b/include/editeng/sizeitem.hxx
index c1ff51f5ae3e..2247c76d9e79 100644
--- a/include/editeng/sizeitem.hxx
+++ b/include/editeng/sizeitem.hxx
@@ -52,16 +52,16 @@ public:
OUString &rText, const IntlWrapper& ) const override;
virtual SvxSizeItem* Clone( SfxItemPool *pPool = nullptr ) const override;
- virtual void ScaleMetrics( long nMult, long nDiv ) override;
+ virtual void ScaleMetrics( tools::Long nMult, tools::Long nDiv ) override;
virtual bool HasMetrics() const override;
const Size& GetSize() const { return m_aSize; }
void SetSize(const Size& rSize) { m_aSize = rSize; }
- long GetWidth() const { return m_aSize.getWidth(); }
- long GetHeight() const { return m_aSize.getHeight(); }
- void SetWidth(long n) { m_aSize.setWidth(n); }
- void SetHeight(long n) { m_aSize.setHeight(n); }
+ tools::Long GetWidth() const { return m_aSize.getWidth(); }
+ tools::Long GetHeight() const { return m_aSize.getHeight(); }
+ void SetWidth(tools::Long n) { m_aSize.setWidth(n); }
+ void SetHeight(tools::Long n) { m_aSize.setHeight(n); }
};
#endif