Kaydet (Commit) d7c3f012 authored tarafından Miklos Vajna's avatar Miklos Vajna

vcl statusbar: fix last non-use of pre-calculated layout

Use it in the offscreen rendering case as well. Layout calls are visible
by logging the invocations of GenericSalLayout::LayoutText().

Change-Id: I9157aa56d22b6c0cee71cdaeca4d61d1c673c79e
Reviewed-on: https://gerrit.libreoffice.org/58831
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst e80214b4
......@@ -416,7 +416,9 @@ void StatusBar::ImplDrawItem(vcl::RenderContext& rRenderContext, bool bOffScreen
{
mpImplData->mpVirDev->DrawText(
aTextPos,
pItem->maText );
pItem->maText,
0, -1, nullptr, nullptr,
pLayoutCache );
}
else
{
......
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