From bb7ce3137dbe12d67f393b95a437b18e3a63f8e7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 May 2015 11:20:10 +0200 Subject: convert INVALIDATE constants to scoped enum fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d --- chart2/source/controller/main/ChartWindow.cxx | 6 +++--- chart2/source/controller/main/ChartWindow.hxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx index f3e41c61371b..15117e0ddf42 100644 --- a/chart2/source/controller/main/ChartWindow.cxx +++ b/chart2/source/controller/main/ChartWindow.cxx @@ -276,7 +276,7 @@ void ChartWindow::ForceInvalidate() m_pOpenGLWindow->Invalidate(); } } -void ChartWindow::Invalidate( sal_uInt16 nFlags ) +void ChartWindow::Invalidate( InvalidateFlags nFlags ) { if( m_bInPaint ) // #i101928# superfluous paint calls while entering and editing charts" return; @@ -286,7 +286,7 @@ void ChartWindow::Invalidate( sal_uInt16 nFlags ) m_pOpenGLWindow->Invalidate( nFlags ); } } -void ChartWindow::Invalidate( const Rectangle& rRect, sal_uInt16 nFlags ) +void ChartWindow::Invalidate( const Rectangle& rRect, InvalidateFlags nFlags ) { if( m_bInPaint ) // #i101928# superfluous paint calls while entering and editing charts" return; @@ -296,7 +296,7 @@ void ChartWindow::Invalidate( const Rectangle& rRect, sal_uInt16 nFlags ) m_pOpenGLWindow->Invalidate( rRect, nFlags ); } } -void ChartWindow::Invalidate( const vcl::Region& rRegion, sal_uInt16 nFlags ) +void ChartWindow::Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags ) { if( m_bInPaint ) // #i101928# superfluous paint calls while entering and editing charts" return; diff --git a/chart2/source/controller/main/ChartWindow.hxx b/chart2/source/controller/main/ChartWindow.hxx index 99a0c5fb6038..02d88485e9c8 100644 --- a/chart2/source/controller/main/ChartWindow.hxx +++ b/chart2/source/controller/main/ChartWindow.hxx @@ -59,9 +59,9 @@ public: virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE; void ForceInvalidate(); - virtual void Invalidate( sal_uInt16 nFlags = 0 ) SAL_OVERRIDE; - virtual void Invalidate( const Rectangle& rRect, sal_uInt16 nFlags = 0 ) SAL_OVERRIDE; - virtual void Invalidate( const vcl::Region& rRegion, sal_uInt16 nFlags = 0 ) SAL_OVERRIDE; + virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE ) SAL_OVERRIDE; + virtual void Invalidate( const Rectangle& rRect, InvalidateFlags nFlags = InvalidateFlags::NONE ) SAL_OVERRIDE; + virtual void Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags = InvalidateFlags::NONE ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; -- cgit