diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-15 14:26:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 10:16:35 +0200 |
commit | 17fa3f64c2d7732e7db8f4f29359c2dbf883f75a (patch) | |
tree | 56517398748850d0166a1ecfea677163260f212f /vcl/inc | |
parent | f05534ccc5218ff7452f7a252cedd070fd2f9b75 (diff) |
loplugin:useuniqueptr in LogicalFontInstance
Change-Id: Id0ba44d9080294576dbafc47e68dff41a8257d29
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/fontinstance.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/fontinstance.hxx b/vcl/inc/fontinstance.hxx index be6df2c0fbad..cdafb1573a98 100644 --- a/vcl/inc/fontinstance.hxx +++ b/vcl/inc/fontinstance.hxx @@ -25,6 +25,7 @@ #include "PhysicalFontFace.hxx" #include <unordered_map> +#include <memory> class ConvertChar; class ImplFontCache; @@ -65,7 +66,7 @@ private: // TODO: a fallback map can be shared with many other ImplFontEntries // TODO: at least the ones which just differ in orientation, stretching or height typedef ::std::unordered_map< ::std::pair<sal_UCS4,FontWeight>, OUString > UnicodeFallbackList; - UnicodeFallbackList* mpUnicodeFallbackList; + std::unique_ptr<UnicodeFallbackList> mpUnicodeFallbackList; ImplFontCache * mpFontCache; sal_uInt32 mnRefCount; }; |