Kaydet (Commit) 49cbb78f authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

refactor Svx3DPreviewControl to use RenderContext

Change-Id: I73e929d217c74b4f6edfc3d70e0c046574c27507
üst 00094cd1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment