summaryrefslogtreecommitdiff
path: root/vcl/source/edit
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 /vcl/source/edit
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 'vcl/source/edit')
-rw-r--r--vcl/source/edit/texteng.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 397a1de8a23a..9ceb0c83542e 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -2135,8 +2135,6 @@ bool TextEngine::CreateLines( sal_uInt32 nPara )
sal_Int32 nIndex = pLine->GetStart();
TextLine aSaveLine( *pLine );
- vcl::Font aFont;
-
while ( nIndex < pNode->GetText().getLength() )
{
bool bEOL = false;