summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/ChartWindow.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-28 12:53:27 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:24:20 +0900
commit9905a8b953953b9ec5e123a17997d5931978acfe (patch)
tree8f31ba1b0e1aa6a024a02e580d0a350cb363c986 /chart2/source/controller/main/ChartWindow.cxx
parentf50fd9692ed7b9632c0f8dad9508f5a207679be4 (diff)
replace Paint calls to Invalidate + fix compilation
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
Diffstat (limited to 'chart2/source/controller/main/ChartWindow.cxx')
-rw-r--r--chart2/source/controller/main/ChartWindow.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx
index dc61456ebd69..c050b5a2330a 100644
--- a/chart2/source/controller/main/ChartWindow.cxx
+++ b/chart2/source/controller/main/ChartWindow.cxx
@@ -102,12 +102,12 @@ void ChartWindow::PrePaint()
}
}
-void ChartWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
+void ChartWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
{
m_bInPaint = true;
if (m_pOpenGLWindow && m_pOpenGLWindow->IsVisible())
{
- m_pOpenGLWindow->Paint(rRect);
+ m_pOpenGLWindow->Paint(rRenderContext, rRect);
}
else if (m_pWindowController)
{
@@ -115,7 +115,7 @@ void ChartWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle
}
else
{
- Window::Paint( rRect );
+ Window::Paint(rRenderContext, rRect);
}
m_bInPaint = false;
}