# HG changeset patch # User Peter Fordham # Date 1269291422 25200 # Node ID e3debc0458641f7729f8b1578e69e83a4f1bc8a1 # Parent 572d2052ec40cff8d75b91e3b3306c8d143bacd5 Bug 1752 - Fixed malformed method pointers. diff -r 572d2052ec40 -r e3debc045864 mulwidgets/gesturehelper/src/gesturehelperimpl.cpp --- a/mulwidgets/gesturehelper/src/gesturehelperimpl.cpp Sun Mar 14 13:11:52 2010 +0000 +++ b/mulwidgets/gesturehelper/src/gesturehelperimpl.cpp Mon Mar 22 13:57:02 2010 -0700 @@ -131,9 +131,9 @@ { CGestureHelperImpl* self = new ( ELeave ) CGestureHelperImpl( ); CleanupStack::PushL( self ); - self->iDoubleTapTimer = CCallbackTimer::NewL( *self, EmitFirstTapEventL, + self->iDoubleTapTimer = CCallbackTimer::NewL( *self, &CGestureHelperImpl::EmitFirstTapEventL, KMaxDoubleTapDuration, EFalse ); // double tap is disabled by default - self->iHoldingTimer = CCallbackTimer::NewL( *self, StartHoldingL, + self->iHoldingTimer = CCallbackTimer::NewL( *self, &CGestureHelperImpl::StartHoldingL, KHoldDuration, ETrue ); // holding is enabled by default self->iGesture = new ( ELeave ) CGesture(); self->iUnusedGesture = new ( ELeave ) CGesture(); diff -r 572d2052ec40 -r e3debc045864 mulwidgets/gesturehelper/src/gesturerecogniser.cpp --- a/mulwidgets/gesturehelper/src/gesturerecogniser.cpp Sun Mar 14 13:11:52 2010 +0000 +++ b/mulwidgets/gesturehelper/src/gesturerecogniser.cpp Mon Mar 22 13:57:02 2010 -0700 @@ -172,7 +172,7 @@ TRect toleranceRect = ToleranceRect( (aPoints.TPointArray::operator[])(aPoints.Count() - 1), aRelevantAxis ); - TInt latestPointIndex = LatestCertainPointIndex( aPoints, TPointArray::operator[],toleranceRect ); + TInt latestPointIndex = LatestCertainPointIndex( aPoints, &TPointArray::operator[],toleranceRect ); if ( KErrNotFound != latestPointIndex ) { return Direction( aPoints[latestPointIndex], LastPoint( aPoints ) ); @@ -190,7 +190,7 @@ TRect toleranceRect = ToleranceRect( (aPoints.TPointArray::Raw)(0) ); - return KErrNotFound == LatestCertainPointIndex( aPoints, TPointArray::Raw,toleranceRect ); + return KErrNotFound == LatestCertainPointIndex( aPoints, &TPointArray::Raw,toleranceRect ); } // ---------------------------------------------------------------------------- @@ -251,7 +251,7 @@ TRect toleranceRect = ToleranceRect( (aPoints.TPointArray::operator[])(aPoints.Count() - 1), aRelevantAxis ); - TInt latestPointIndex = LatestCertainPointIndex( aPoints, TPointArray::operator[],toleranceRect ); + TInt latestPointIndex = LatestCertainPointIndex( aPoints, &TPointArray::operator[],toleranceRect ); if ( KErrNotFound != latestPointIndex ) { return EGestureDrag;