diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-21 15:30:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-22 08:08:05 +0200 |
commit | e25fd7782ad04dc363b4265e1bd08d6e092b50c5 (patch) | |
tree | 1dd202549adbc1ed7dbe17e5a81abbe408086e85 /include/i18nutil | |
parent | 180dd91c189de0bf03d5062e33c20da94c5d35d9 (diff) |
long->tools::Long in hwpfilter..oox
Change-Id: I9ab8876aac7b2f8b488db6dfa9c6fd0cecd2238b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104626
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/i18nutil')
-rw-r--r-- | include/i18nutil/paper.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/i18nutil/paper.hxx b/include/i18nutil/paper.hxx index 3590e170a60a..415fc452d112 100644 --- a/include/i18nutil/paper.hxx +++ b/include/i18nutil/paper.hxx @@ -22,6 +22,7 @@ #include <i18nutil/i18nutildllapi.h> #include <rtl/string.hxx> +#include <tools/long.hxx> namespace com::sun::star::lang { struct Locale; } @@ -121,15 +122,15 @@ enum Paper class I18NUTIL_DLLPUBLIC PaperInfo { Paper m_eType; - long m_nPaperWidth; // width in 100thMM - long m_nPaperHeight; // height in 100thMM + tools::Long m_nPaperWidth; // width in 100thMM + tools::Long m_nPaperHeight; // height in 100thMM public: PaperInfo(Paper eType); - PaperInfo(long nPaperWidth, long nPaperHeight); + PaperInfo(tools::Long nPaperWidth, tools::Long nPaperHeight); Paper getPaper() const { return m_eType; } - long getWidth() const { return m_nPaperWidth; } - long getHeight() const { return m_nPaperHeight; } + tools::Long getWidth() const { return m_nPaperWidth; } + tools::Long getHeight() const { return m_nPaperHeight; } bool sloppyEqual(const PaperInfo &rOther) const; void doSloppyFit(); @@ -139,7 +140,7 @@ public: static Paper fromPSName(const OString &rName); static OString toPSName(Paper eType); - static long sloppyFitPageDimension(long nDimension); + static tools::Long sloppyFitPageDimension(tools::Long nDimension); }; #endif // INCLUDED_I18NUTIL_PAPER_HXX |