diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-28 18:53:13 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-28 18:56:02 +0900 |
commit | 1afa39b1e9a4ce1cdab866a29a637283ed6792a9 (patch) | |
tree | 5981a5c231052bdd27926ccd223164e80a81ed8b /vcl | |
parent | 737a0de6fd06070d5eb11c6dd43bb51f9cc272da (diff) |
fix calls to RenderContext
Change-Id: I5ef4b740a9c62d5cc7a2126686df4fd86a4b3492
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/edit.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/lstbox.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 15cf93d1c179..6ff15da2302e 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -551,7 +551,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, bool bLayout) rRenderContext.DrawRect(Rectangle(aPos, Size(GetOutputSizePixel().Width() - 2 * mnXOffset, GetOutputSizePixel().Height()))); rRenderContext.Pop(); - SetTextFillColor(GetControlBackground()); + rRenderContext.SetTextFillColor(GetControlBackground()); } else if (IsPaintTransparent() || ImplUseNativeBorder(rRenderContext, GetStyle())) rRenderContext.SetTextFillColor(); diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx index a1ad0ebb8bca..6944518cef79 100644 --- a/vcl/source/control/lstbox.cxx +++ b/vcl/source/control/lstbox.cxx @@ -555,7 +555,7 @@ void ListBox::DataChanged( const DataChangedEvent& rDCEvt ) if ( mpImplWin ) { mpImplWin->SetSettings( GetSettings() ); // If not yet set... - mpImplWin->ApplySettings(*this); + mpImplWin->ApplySettings(*mpImplWin); mpBtn->SetSettings( GetSettings() ); ImplInitDropDownButton( mpBtn ); |