diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-25 15:43:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-26 11:55:20 +0100 |
commit | cf828ae14324eca743c7a51f79ffe22238d1fe8f (patch) | |
tree | 0278c06092acddea76b74835ddc829201a6ef954 /vcl/source/control/calendar.cxx | |
parent | da457f41f8f0a14014ff9f122467f3a26eb1ac20 (diff) |
rename one ImplHitTest so using window::ImplHitTest can be dropped
Change-Id: I8a77654d4c6629ee76d57fc26bb022c69dab0b9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111559
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/control/calendar.cxx')
-rw-r--r-- | vcl/source/control/calendar.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/control/calendar.cxx b/vcl/source/control/calendar.cxx index efcfc0c63800..7b8f9a061eb8 100644 --- a/vcl/source/control/calendar.cxx +++ b/vcl/source/control/calendar.cxx @@ -326,7 +326,7 @@ void Calendar::ImplFormat() mbFormat = false; } -sal_uInt16 Calendar::ImplHitTest( const Point& rPos, Date& rDate ) const +sal_uInt16 Calendar::ImplDoHitTest( const Point& rPos, Date& rDate ) const { if ( mbFormat ) return 0; @@ -928,7 +928,7 @@ void Calendar::ImplShowMenu( const Point& rPos, const Date& rDate ) void Calendar::ImplTracking( const Point& rPos, bool bRepeat ) { Date aTempDate = maCurDate; - sal_uInt16 nHitTest = ImplHitTest( rPos, aTempDate ); + sal_uInt16 nHitTest = ImplDoHitTest( rPos, aTempDate ); if ( mbSpinDown ) { @@ -1006,7 +1006,7 @@ void Calendar::MouseButtonDown( const MouseEvent& rMEvt ) if ( rMEvt.IsLeft() && !mbMenuDown ) { Date aTempDate = maCurDate; - sal_uInt16 nHitTest = ImplHitTest( rMEvt.GetPosPixel(), aTempDate ); + sal_uInt16 nHitTest = ImplDoHitTest( rMEvt.GetPosPixel(), aTempDate ); if ( nHitTest ) { if ( nHitTest & CALENDAR_HITTEST_MONTHTITLE ) @@ -1200,7 +1200,7 @@ void Calendar::Command( const CommandEvent& rCEvt ) if ( rCEvt.IsMouseEvent() ) { Date aTempDate = maCurDate; - sal_uInt16 nHitTest = ImplHitTest( rCEvt.GetMousePosPixel(), aTempDate ); + sal_uInt16 nHitTest = ImplDoHitTest( rCEvt.GetMousePosPixel(), aTempDate ); if ( nHitTest & CALENDAR_HITTEST_MONTHTITLE ) { ImplShowMenu( rCEvt.GetMousePosPixel(), aTempDate ); @@ -1369,7 +1369,7 @@ sal_uInt16 Calendar::GetMonthCount() const bool Calendar::GetDate( const Point& rPos, Date& rDate ) const { Date aDate = maCurDate; - sal_uInt16 nHitTest = ImplHitTest( rPos, aDate ); + sal_uInt16 nHitTest = ImplDoHitTest( rPos, aDate ); if ( nHitTest & CALENDAR_HITTEST_DAY ) { rDate = aDate; |