summaryrefslogtreecommitdiff
path: root/vcl/inc/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 14:35:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-15 08:40:23 +0200
commit9467f10de690c622a210120e1963b2d755875a6b (patch)
tree597596ea05f61d503ff4ab5b10b3e26cd3b273be /vcl/inc/unx
parent40ab9800d3d19eee59571092a9872c8fe9af4e38 (diff)
loplugin:useuniqueptr in FreetypeManager
Change-Id: Idf8f843f2740bc20e6b0877b62dbfc778e31acd8 Reviewed-on: https://gerrit.libreoffice.org/59018 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r--vcl/inc/unx/freetype_glyphcache.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/freetype_glyphcache.hxx b/vcl/inc/unx/freetype_glyphcache.hxx
index 910aa2a70ae6..57c9f02df2ad 100644
--- a/vcl/inc/unx/freetype_glyphcache.hxx
+++ b/vcl/inc/unx/freetype_glyphcache.hxx
@@ -100,7 +100,7 @@ public:
FreetypeFont* CreateFont( const FontSelectPattern& );
private:
- typedef std::unordered_map<sal_IntPtr,FreetypeFontInfo*> FontList;
+ typedef std::unordered_map<sal_IntPtr, std::unique_ptr<FreetypeFontInfo>> FontList;
FontList maFontList;
sal_IntPtr mnMaxFontId;