diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-06 15:49:16 +0900 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-07 09:57:50 +0200 |
commit | 29b1e6718f6ebdb45d2a8c6a89a86bc0a6bbb3ae (patch) | |
tree | 2e405f964e47ee481926d8af5b2a70a81987119f /basctl | |
parent | c299413c6d51280804e1996330a960d02050507d (diff) |
refactor "TextEdit" & co. to use RenderContext
Change-Id: Ib26ecb9640d23714acec73304f26e2fd6af90ed4
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 06c7573095b2..e4ae127660c7 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -915,12 +915,12 @@ void EditorWindow::SetupAndShowCodeCompleteWnd( const std::vector< OUString >& a pEditView->GetWindow()->GrabFocus(); } -void EditorWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void EditorWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - if ( !pEditEngine ) // We need it now at latest + if (!pEditEngine) // We need it now at latest CreateEditEngine(); - pEditView->Paint( rRect ); + pEditView->Paint(rRenderContext, rRect); } void EditorWindow::LoseFocus() |