summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-28 11:00:54 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:19:47 +0900
commitf50fd9692ed7b9632c0f8dad9508f5a207679be4 (patch)
tree50c9598cb186708215899b45c43623447b7b60ff /starmath/source/view.cxx
parentd36da8c19378f4772c896ca4df94117077e823d6 (diff)
mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index e3b5f6f64df2..c967936c2f5c 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -385,7 +385,7 @@ const SmNode * SmGraphicWindow::SetCursorPos(sal_uInt16 nRow, sal_uInt16 nCol)
return pNode;
}
-void SmGraphicWindow::Paint(const Rectangle&)
+void SmGraphicWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle&)
{
SAL_WARN_IF( !pViewShell, "starmath", "view shell missing" );
@@ -762,7 +762,7 @@ void SmCmdBoxWindow::Resize()
Invalidate();
}
-void SmCmdBoxWindow::Paint(const Rectangle& /*rRect*/)
+void SmCmdBoxWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& /*rRect*/)
{
Rectangle aRect = Rectangle(Point(0, 0), GetOutputSizePixel());
aRect.Left() += CMD_BOX_PADDING;