Kaydet (Commit) 23eb4435 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: change to true and false in Window::ImplTestMousePointerSet()

Change-Id: I5184b9bf7d080f65a702a88214906264b9d88e2f
üst ec1d05d9
...@@ -503,7 +503,7 @@ private: ...@@ -503,7 +503,7 @@ private:
SAL_DLLPRIVATE bool ImplIsRealParentPath( const Window* pWindow ) const; SAL_DLLPRIVATE bool ImplIsRealParentPath( const Window* pWindow ) const;
SAL_DLLPRIVATE int ImplTestMousePointerSet(); SAL_DLLPRIVATE bool ImplTestMousePointerSet();
SAL_DLLPRIVATE void ImplResetReallyVisible(); SAL_DLLPRIVATE void ImplResetReallyVisible();
SAL_DLLPRIVATE void ImplSetReallyVisible(); SAL_DLLPRIVATE void ImplSetReallyVisible();
......
...@@ -74,7 +74,7 @@ sal_uInt16 Window::ImplHitTest( const Point& rFramePos ) ...@@ -74,7 +74,7 @@ sal_uInt16 Window::ImplHitTest( const Point& rFramePos )
return nHitTest; return nHitTest;
} }
int Window::ImplTestMousePointerSet() bool Window::ImplTestMousePointerSet()
{ {
// as soon as mouse is captured, switch mouse-pointer // as soon as mouse is captured, switch mouse-pointer
if ( IsMouseCaptured() ) if ( IsMouseCaptured() )
...@@ -83,9 +83,9 @@ int Window::ImplTestMousePointerSet() ...@@ -83,9 +83,9 @@ int Window::ImplTestMousePointerSet()
// if the mouse is over the window, switch it // if the mouse is over the window, switch it
Rectangle aClientRect( Point( 0, 0 ), GetOutputSizePixel() ); Rectangle aClientRect( Point( 0, 0 ), GetOutputSizePixel() );
if ( aClientRect.IsInside( GetPointerPosPixel() ) ) if ( aClientRect.IsInside( GetPointerPosPixel() ) )
return sal_True; return true;
return sal_False; return false;
} }
PointerStyle Window::ImplGetMousePointer() const PointerStyle Window::ImplGetMousePointer() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment