diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-12 16:16:50 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-13 08:38:00 +0900 |
commit | 49cbb78f78d6263ef73655a30c85a720f3db7027 (patch) | |
tree | dd82a0b0a1aa4c8fa0eb208761592839f9845548 /svx | |
parent | 00094cd15165a7dbd0ca887c2e95b7afddc4ff52 (diff) |
refactor Svx3DPreviewControl to use RenderContext
Change-Id: I73e929d217c74b4f6edfc3d70e0c046574c27507
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index 748c92a189ef..11b53ab40a52 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -163,9 +163,9 @@ void Svx3DPreviewControl::Resize() mpScene->SetSnapRect( aRect ); } -void Svx3DPreviewControl::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) +void Svx3DPreviewControl::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - mp3DView->CompleteRedraw(this, vcl::Region(rRect)); + mp3DView->CompleteRedraw(&rRenderContext, vcl::Region(rRect)); } void Svx3DPreviewControl::MouseButtonDown(const MouseEvent& rMEvt) |