summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-28 12:53:27 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:24:20 +0900
commit9905a8b953953b9ec5e123a17997d5931978acfe (patch)
tree8f31ba1b0e1aa6a024a02e580d0a350cb363c986 /dbaccess
parentf50fd9692ed7b9632c0f8dad9508f5a207679be4 (diff)
replace Paint calls to Invalidate + fix compilation
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/app/AppDetailView.cxx4
-rw-r--r--dbaccess/source/ui/control/marktree.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index eba5b1055fb7..06432c7c07a0 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -85,13 +85,13 @@ OCreationList::OCreationList( OTasksWindow& _rParent )
EnableEntryMnemonics();
}
-void OCreationList::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& _rRect )
+void OCreationList::Paint( vcl::RenderContext& rRenderContext, const Rectangle& _rRect )
{
if ( m_pMouseDownEntry )
m_aOriginalFont = GetFont();
m_aOriginalBackgroundColor = GetBackground().GetColor();
- SvTreeListBox::Paint( _rRect );
+ SvTreeListBox::Paint(rRenderContext, _rRect);
SetBackground( m_aOriginalBackgroundColor );
if ( m_pMouseDownEntry )
diff --git a/dbaccess/source/ui/control/marktree.cxx b/dbaccess/source/ui/control/marktree.cxx
index d85d0b120ffd..54634ed7d393 100644
--- a/dbaccess/source/ui/control/marktree.cxx
+++ b/dbaccess/source/ui/control/marktree.cxx
@@ -46,7 +46,7 @@ void OMarkableTreeListBox::dispose()
DBTreeListBox::dispose();
}
-void OMarkableTreeListBox::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& _rRect)
+void OMarkableTreeListBox::Paint(vcl::RenderContext& rRenderContext, const Rectangle& _rRect)
{
if (!IsEnabled())
{
@@ -57,11 +57,11 @@ void OMarkableTreeListBox::Paint(vcl::RenderContext& /*rRenderContext*/, const R
aNewFont.SetColor(aSystemStyle.GetDisableColor());
SetFont(aNewFont);
- DBTreeListBox::Paint(_rRect);
+ DBTreeListBox::Paint(rRenderContext, _rRect);
SetFont(aOldFont);
}
else
- DBTreeListBox::Paint(_rRect);
+ DBTreeListBox::Paint(rRenderContext, _rRect);
}
void OMarkableTreeListBox::InitButtonData()