Kaydet (Commit) 36b14751 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Andras Timar

Use status offscreen rendering when not in "RecordLayout" mode

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