summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-28 15:09:39 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:27:54 +0900
commit6cea2e61cf77bfe5bc53aa6002807c9b38e77499 (patch)
tree45c3876576c58fb47461ba7730658805ddd1ca25 /svtools
parent704ebef99de606f5a60c495130e6e3d791981042 (diff)
fix compile: delegate RenderContext parameter to super
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx4
-rw-r--r--svtools/source/control/roadmap.cxx6
-rw-r--r--svtools/source/toolpanel/toolpaneldrawer.cxx4
4 files changed, 8 insertions, 10 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index 3d560d69f5b9..d4d4cfb21a46 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -300,9 +300,9 @@ namespace svt
}
- void CheckBoxControl::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rClientRect)
+ void CheckBoxControl::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rClientRect)
{
- Control::Paint(rClientRect);
+ Control::Paint(rRenderContext, rClientRect);
if (HasFocus())
ShowFocus(aFocusRect);
}
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 6bef56e00490..a6247190ccb8 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -2568,9 +2568,9 @@ void SvTreeListBox::AdjustEntryHeightAndRecalc( const vcl::Font& rFont )
RecalcViewData();
}
-void SvTreeListBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
+void SvTreeListBox::Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect )
{
- Control::Paint( rRect );
+ Control::Paint(rRenderContext, rRect);
if( nTreeFlags & SvTreeFlags::RECALCTABS )
SetTabs();
pImp->Paint( rRect );
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index 1fbb266ed34c..bc0673a5cdf2 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -556,10 +556,9 @@ namespace svt
}
- void ORoadmap::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& _rRect )
+ void ORoadmap::Paint( vcl::RenderContext& rRenderContext, const Rectangle& _rRect )
{
- Control::Paint( _rRect );
-
+ Control::Paint(rRenderContext, _rRect);
// draw the bitmap
if ( !!m_pImpl->getPicture() )
@@ -573,7 +572,6 @@ namespace svt
DrawBitmapEx( aBitmapPos, m_pImpl->getPicture() );
}
-
// draw the headline
DrawHeadline();
}
diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx
index c82584cba903..55e9a9da0038 100644
--- a/svtools/source/toolpanel/toolpaneldrawer.cxx
+++ b/svtools/source/toolpanel/toolpaneldrawer.cxx
@@ -56,9 +56,9 @@ namespace svt
}
- void DrawerVisualization::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& i_rBoundingBox )
+ void DrawerVisualization::Paint( vcl::RenderContext& rRenderContext, const Rectangle& i_rBoundingBox )
{
- Window::Paint( i_rBoundingBox );
+ Window::Paint(rRenderContext, i_rBoundingBox);
m_rDrawer.Paint();
}