summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-16 17:34:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-17 09:58:50 +0100
commitfb032d58c71fc2d5c199b24b669a69ce119fff80 (patch)
treec98750da1e243086da09937617404ff2cbdbcb0a /sw
parentb4b224f6710adaa1cd9c6413e9754db6fbee3e9c (diff)
flush out unused Font objects
Change-Id: Ifd6379b2cb6e5945ff509be8dc61c61bd70724c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86938 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx
index 82f3ea738e90..a48db512fea8 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -1238,7 +1238,6 @@ void SwLBoxString::Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderCont
!pCont->GetSection()->IsConnectFlag())
{
rRenderContext.Push(PushFlags::FONT);
- vcl::Font aOldFont(rRenderContext.GetFont());
vcl::Font aFont(rRenderContext.GetFont());
aFont.SetColor(COL_LIGHTRED);
rRenderContext.SetFont(aFont);