summaryrefslogtreecommitdiff
path: root/starmath/source
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
parentd36da8c19378f4772c896ca4df94117077e823d6 (diff)
mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx2
-rw-r--r--starmath/source/dialog.cxx8
-rw-r--r--starmath/source/edit.cxx2
-rw-r--r--starmath/source/view.cxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 4a5118a5b789..bbff05609fc5 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -254,7 +254,7 @@ void SmElementsControl::setVerticalMode(bool bVerticalMode)
mbVerticalMode = bVerticalMode;
}
-void SmElementsControl::Paint(const Rectangle&)
+void SmElementsControl::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle&)
{
Push();
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index a78f528978ef..f3cf0e760570 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -247,7 +247,7 @@ VclPtr<SfxTabPage> SmPrintOptionsTabPage::Create(vcl::Window* pWindow, const Sfx
/**************************************************************************/
-void SmShowFont::Paint(const Rectangle& rRect )
+void SmShowFont::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
{
Window::Paint( rRect );
@@ -1172,7 +1172,7 @@ Point SmShowSymbolSetWindow::OffsetPoint(const Point &rPoint) const
return Point(rPoint.X() + nXOffset, rPoint.Y() + nYOffset);
}
-void SmShowSymbolSetWindow::Paint(const Rectangle&)
+void SmShowSymbolSetWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle&)
{
Push(PushFlags::MAPMODE);
@@ -1427,7 +1427,7 @@ void SmShowSymbol::setFontSize(vcl::Font &rFont) const
rFont.SetSize(Size(0, GetOutputSize().Height() - GetOutputSize().Height() / 3));
}
-void SmShowSymbol::Paint(const Rectangle &rRect)
+void SmShowSymbol::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle &rRect)
{
Control::Paint( rRect );
@@ -1711,7 +1711,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSmShowChar(vcl::Window
return new SmShowChar(pParent, nWinStyle);
}
-void SmShowChar::Paint(const Rectangle &rRect)
+void SmShowChar::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle &rRect)
{
Control::Paint( rRect );
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index fa9ebaa138f9..cc0493072371 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -531,7 +531,7 @@ void SmEditWindow::KeyInput(const KeyEvent& rKEvt)
}
}
-void SmEditWindow::Paint(const Rectangle& rRect)
+void SmEditWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect)
{
if (!pEditView)
CreateEditView();
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;