summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 08:58:38 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:27:55 +0900
commitc57a5f310b6168b4fe262656ceb253f4566dd2d9 (patch)
treeda82c1fb7877a15d797b0c038c2b570138e46f43 /vcl/source
parentcdb1fa88c8c960cfcc817a14e64c54ef6babeb59 (diff)
delegate RenderContext, invalidate - ilstbox
Change-Id: I9d47e828a784bf6b120b4b1e9df332ea85690a19
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/ilstbox.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 01a18d211d53..c2d53ce022fc 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1880,11 +1880,10 @@ void ImplListBoxWindow::DrawEntry( sal_Int32 nPos, bool bDrawImage, bool bDrawTe
void ImplListBoxWindow::FillLayoutData() const
{
mpControlData->mpLayoutData = new vcl::ControlLayoutData();
- const_cast<ImplListBoxWindow*>(this)->
- ImplDoPaint( Rectangle( Point( 0, 0 ), GetOutputSize() ), true );
+ const_cast<ImplListBoxWindow*>(this)->Invalidate(Rectangle(Point(0, 0), GetOutputSize()));
}
-void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
+void ImplListBoxWindow::ImplDoPaint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect, bool bLayout)
{
sal_Int32 nCount = mpEntryList->GetEntryCount();
@@ -1914,9 +1913,9 @@ void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
ImplShowFocusRect();
}
-void ImplListBoxWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect )
+void ImplListBoxWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
{
- ImplDoPaint( rRect );
+ ImplDoPaint(rRenderContext, rRect);
}
sal_uInt16 ImplListBoxWindow::GetDisplayLineCount() const