summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-14 09:55:04 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-14 10:01:32 +0900
commitefd4f9b9ac16160bd458531b5cf493cb09c246c8 (patch)
tree3e1c946273f7fe16137bd6c7d8f8158e726821a8 /sfx2/source/dialog
parent9345eb201db7e796f977fab222a6fd7ed01d6ad8 (diff)
refacotr InfoBar to use RenderContext
Change-Id: I03422badbf1c97b41ab1e7b1b007336e49285f3d
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/infobar.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index 3c2c197d0ecc..e6b63c83cd33 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -60,14 +60,14 @@ public:
virtual ~SfxCloseButton() {}
- virtual void Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) SAL_OVERRIDE;
+ virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) SAL_OVERRIDE;
};
-void SfxCloseButton::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle&)
+void SfxCloseButton::Paint(vcl::RenderContext& rRenderContext, const Rectangle&)
{
const ViewInformation2D aNewViewInfos;
const unique_ptr<BaseProcessor2D> pProcessor(
- createBaseProcessor2DFromOutputDevice(*this, aNewViewInfos));
+ createBaseProcessor2DFromOutputDevice(rRenderContext, aNewViewInfos));
const Rectangle aRect(Point(0, 0), PixelToLogic(GetSizePixel()));
@@ -163,7 +163,7 @@ void SfxInfoBarWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle
{
const ViewInformation2D aNewViewInfos;
const unique_ptr<BaseProcessor2D> pProcessor(
- createBaseProcessor2DFromOutputDevice(*this, aNewViewInfos));
+ createBaseProcessor2DFromOutputDevice(rRenderContext, aNewViewInfos));
const Rectangle aRect(Point(0, 0), PixelToLogic(GetSizePixel()));