From f50fd9692ed7b9632c0f8dad9508f5a207679be4 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Tue, 28 Apr 2015 11:00:54 +0900 Subject: mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&) Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8 --- extensions/source/scanner/grid.cxx | 4 ++-- extensions/source/scanner/sanedlg.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/source') diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 346715b4bc28..0201193acc2b 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -128,7 +128,7 @@ public: void ChangeMode(int nType); - virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; + virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE; }; GridWindow::GridWindow(vcl::Window* pParent) @@ -528,7 +528,7 @@ void GridWindow::drawHandles() } } -void GridWindow::Paint( const Rectangle& rRect ) +void GridWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { Window::Paint(rRect); drawGrid(); diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index 384be4d3371d..b83030adbd06 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -81,7 +81,7 @@ public: void EnableDrag() { mbDragEnable = true; } void DisableDrag() { mbDragEnable = false; } bool IsDragEnabled() { return mbDragEnable; } - virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE; + virtual void Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) SAL_OVERRIDE; virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE; virtual void MouseMove(const MouseEvent& rMEvt) SAL_OVERRIDE; virtual void MouseButtonUp(const MouseEvent& rMEvt) SAL_OVERRIDE; @@ -914,7 +914,7 @@ void ScanPreview::UpdatePreviewBounds() } } -void ScanPreview::Paint(const Rectangle& rRect) +void ScanPreview::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) { Window::Paint(rRect); SetMapMode(MAP_APPFONT); -- cgit