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

Use status offscreen rendering when not in "RecordLayout" mode

Change-Id: I770dc9a91bc1239e64ec8e538be0f6a4b03dd08e
üst 1b3d17ba
...@@ -728,8 +728,13 @@ void StatusBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle&) ...@@ -728,8 +728,13 @@ void StatusBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle&)
// draw items // draw items
if (mbVisibleItems) if (mbVisibleItems)
{ {
// Do offscreen only when we are not recording layout..
bool bOffscreen = !rRenderContext.ImplIsRecordLayout();
for (sal_uInt16 i = 0; i < nItemCount; i++) for (sal_uInt16 i = 0; i < nItemCount; i++)
ImplDrawItem(rRenderContext, false, i, true, true); {
ImplDrawItem(rRenderContext, bOffscreen, i, true, true);
}
} }
} }
......
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