summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/infobar.cxx4
-rw-r--r--sfx2/source/sidebar/MenuButton.cxx4
-rw-r--r--sfx2/source/sidebar/Panel.cxx4
-rw-r--r--sfx2/source/sidebar/TabBar.cxx4
-rw-r--r--sfx2/source/sidebar/TabItem.cxx4
5 files changed, 10 insertions, 10 deletions
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index af4932e48b7e..5ec640735c54 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -159,7 +159,7 @@ void SfxInfoBarWindow::dispose()
vcl::Window::dispose();
}
-void SfxInfoBarWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rPaintRect)
+void SfxInfoBarWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rPaintRect)
{
const ViewInformation2D aNewViewInfos;
const unique_ptr<BaseProcessor2D> pProcessor(
@@ -202,7 +202,7 @@ void SfxInfoBarWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Recta
pProcessor->process(aSeq);
- Window::Paint(rPaintRect);
+ Window::Paint(rRenderContext, rPaintRect);
}
void SfxInfoBarWindow::Resize()
diff --git a/sfx2/source/sidebar/MenuButton.cxx b/sfx2/source/sidebar/MenuButton.cxx
index a0a945ecc7cd..3bd24c1d4011 100644
--- a/sfx2/source/sidebar/MenuButton.cxx
+++ b/sfx2/source/sidebar/MenuButton.cxx
@@ -39,7 +39,7 @@ MenuButton::MenuButton (vcl::Window* pParentWindow)
#endif
}
-void MenuButton::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rUpdateArea)
+void MenuButton::Paint (vcl::RenderContext& rRenderContext, const Rectangle& rUpdateArea)
{
switch(mePaintType)
{
@@ -70,7 +70,7 @@ void MenuButton::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle&
break;
}
case PT_Native:
- Button::Paint(rUpdateArea);
+ Button::Paint(rRenderContext, rUpdateArea);
// DrawImage(maIconPosition, maIcon);
break;
}
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx
index 13b853268ec6..f277efd52165 100644
--- a/sfx2/source/sidebar/Panel.cxx
+++ b/sfx2/source/sidebar/Panel.cxx
@@ -130,9 +130,9 @@ bool Panel::HasIdPredicate (const ::rtl::OUString& rsId) const
return msPanelId.equals(rsId);
}
-void Panel::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rUpdateArea)
+void Panel::Paint (vcl::RenderContext& rRenderContext, const Rectangle& rUpdateArea)
{
- Window::Paint(rUpdateArea);
+ Window::Paint(rRenderContext, rUpdateArea);
}
void Panel::Resize()
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index df7a184667c8..fd8695ee0205 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -79,9 +79,9 @@ void TabBar::dispose()
vcl::Window::dispose();
}
-void TabBar::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rUpdateArea)
+void TabBar::Paint (vcl::RenderContext& rRenderContext, const Rectangle& rUpdateArea)
{
- Window::Paint(rUpdateArea);
+ Window::Paint(rRenderContext, rUpdateArea);
const sal_Int32 nHorizontalPadding (Theme::GetInteger(Theme::Int_TabMenuSeparatorPadding));
SetLineColor(Theme::GetColor(Theme::Color_TabMenuSeparator));
diff --git a/sfx2/source/sidebar/TabItem.cxx b/sfx2/source/sidebar/TabItem.cxx
index d05c906fb057..0d7f8667a16b 100644
--- a/sfx2/source/sidebar/TabItem.cxx
+++ b/sfx2/source/sidebar/TabItem.cxx
@@ -42,7 +42,7 @@ TabItem::TabItem (vcl::Window* pParentWindow)
#endif
}
-void TabItem::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rUpdateArea)
+void TabItem::Paint (vcl::RenderContext& rRenderContext, const Rectangle& rUpdateArea)
{
switch(mePaintType)
{
@@ -74,7 +74,7 @@ void TabItem::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rU
break;
}
case PT_Native:
- Button::Paint(rUpdateArea);
+ Button::Paint(rRenderContext, rUpdateArea);
break;
}
}