diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-05-04 08:56:06 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-04 15:16:47 +0200 |
commit | 9c1c80bc9f679130939fccd251559c27abf675c8 (patch) | |
tree | 82ca250edd01854d3e8a523688a60037b36aa414 /vcl | |
parent | f670422a01e7336ba8a554331f3781ec7f5c4e8c (diff) |
remove unused layout call
I should have removed this in bfb6a42e26de28d88ced43eb3a2c63ce323.
Change-Id: Ieb4b5fabcc1eecf82dbacef66bef8288b6c51761
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133815
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/status.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index d6803cc5b4c8..8c701b496b14 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -1143,8 +1143,6 @@ void StatusBar::SetItemText( sal_uInt16 nItemId, const OUString& rText, int nCha tools::Long nWidth; if (nCharsWidth != -1) { - std::unique_ptr<SalLayout> pSalLayout = GetOutDev()->ImplLayout("0",0,-1, - Point(0, 0), 0, {}, SalLayoutFlags::GlyphItemsOnly); nWidth = GetTextWidth("0",0,-1,nullptr, SalLayoutGlyphsCache::self()->GetLayoutGlyphs(GetOutDev(),"0")); nWidth = nWidth * nCharsWidth + nFudge; |