summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-04-12 16:04:28 +0900
committerDavid Tardon <dtardon@redhat.com>2016-04-13 06:44:36 +0000
commit3fbfddc6c98c82d98ce9b2cc9aa49104e354a987 (patch)
tree687fc406ca531786f12a251f62600cfd7ef46b77 /vcl/unx/generic
parentb0e8f9ff2d59f5c1617f4c45ac457ec16a41cee5 (diff)
Stop assigning null to intrusive_ptr
which added at f6d61562d41b8a49449d881da66a3d8fa519487f. But they seems unnecessay because, even without them, soon the intrusive_ptr goes out of scope then its dtor decrements refcount. Change-Id: I6e35ecb7d5a0b5ccaef6ea9b7507300dcb589801 Reviewed-on: https://gerrit.libreoffice.org/24013 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/fontmanager/fontmanager.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
index d7b4bd3f7c7f..7a660e7dbb0a 100644
--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
+++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
@@ -2125,8 +2125,6 @@ void PrintFontManager::getGlyphWidths( fontID nFont,
// update the requested map
rUnicodeEnc[ (sal_Unicode)c ] = aGlyphId;
}
-
- xFontCharMap = nullptr;
}
}
}