diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-10 14:44:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-10 17:18:57 +0200 |
commit | d7c3f01280f7d716d608a12d56cc9d6438da24f7 (patch) | |
tree | 22ceb695bb1315d0eb3f810ca138962c6aa469f3 /vcl/source/window/status.cxx | |
parent | e80214b4c8bfda05f4c26dc8c56c2b982fe08650 (diff) |
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 <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/status.cxx')
-rw-r--r-- | vcl/source/window/status.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |