vcl/source/window/status.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit d7c3f01280f7d716d608a12d56cc9d6438da24f7 Author: Miklos Vajna <[email protected]> AuthorDate: Fri Aug 10 14:44:04 2018 +0200 Commit: Miklos Vajna <[email protected]> CommitDate: Fri Aug 10 17:18:57 2018 +0200 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: Miklos Vajna <[email protected]> diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index 2d58e68d9752..4a9d24bd4f7e 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -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 { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
