summaryrefslogtreecommitdiff
path: root/vcl/inc/calendar.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:12:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-19 21:34:46 +0200
commit3aef606f2758172a27718a06fea0ff9080e4d80f (patch)
treead323c90301d80bbb3b68163d8b87e5402b687ed /vcl/inc/calendar.hxx
parent5afba3e12c8d4eb1ebb8e087134eb87593bb017a (diff)
use tools::Long in vcl
Change-Id: Ice1055021e8568634e9a66ba89d3bb4ef4e731df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/calendar.hxx')
-rw-r--r--vcl/inc/calendar.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/vcl/inc/calendar.hxx b/vcl/inc/calendar.hxx
index 46aea4c63c1f..fe49ec69b0d0 100644
--- a/vcl/inc/calendar.hxx
+++ b/vcl/inc/calendar.hxx
@@ -126,7 +126,7 @@ class Calendar final : public Control
tools::Rectangle maPrevRect;
tools::Rectangle maNextRect;
OUString maDayOfWeekText;
- long mnDayOfWeekAry[7];
+ tools::Long mnDayOfWeekAry[7];
Date maOldFormatFirstDate;
Date maOldFormatLastDate;
Date maFirstDate;
@@ -136,15 +136,15 @@ class Calendar final : public Control
Color maSelColor;
Color maOtherColor;
sal_Int32 mnDayCount;
- long mnDaysOffX;
- long mnWeekDayOffY;
- long mnDaysOffY;
- long mnMonthHeight;
- long mnMonthWidth;
- long mnMonthPerLine;
- long mnLines;
- long mnDayWidth;
- long mnDayHeight;
+ tools::Long mnDaysOffX;
+ tools::Long mnWeekDayOffY;
+ tools::Long mnDaysOffY;
+ tools::Long mnMonthHeight;
+ tools::Long mnMonthWidth;
+ tools::Long mnMonthPerLine;
+ tools::Long mnLines;
+ tools::Long mnDayWidth;
+ tools::Long mnDayHeight;
WinBits mnWinStyle;
sal_Int16 mnFirstYear;
sal_Int16 mnLastYear;
@@ -169,7 +169,7 @@ class Calendar final : public Control
using Window::ImplHitTest;
sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const;
void ImplDrawSpin(vcl::RenderContext& rRenderContext);
- void ImplDrawDate(vcl::RenderContext& rRenderContext, long nX, long nY,
+ void ImplDrawDate(vcl::RenderContext& rRenderContext, tools::Long nX, tools::Long nY,
sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear,
bool bOther, sal_Int32 nToday);
void ImplDraw(vcl::RenderContext& rRenderContext);