diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-29 09:11:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-02 07:43:53 +0100 |
commit | d60d2973eca003b46860bf5effe9d0e638268f94 (patch) | |
tree | 11056a6dda9b9941de7bbeb3524e1398a4125fa0 /vcl/inc/PhysicalFontFamily.hxx | |
parent | 98864543c099027cc3dbedc0389ed46cefe4713e (diff) |
loplugin:useuniqueptr in PhysicalFontFamily
Change-Id: I010339eaf7874e61b5d0e5d41574c54e98ea1921
Reviewed-on: https://gerrit.libreoffice.org/49094
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/PhysicalFontFamily.hxx')
-rw-r--r-- | vcl/inc/PhysicalFontFamily.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/PhysicalFontFamily.hxx b/vcl/inc/PhysicalFontFamily.hxx index b782c4fe69f4..e88db8203809 100644 --- a/vcl/inc/PhysicalFontFamily.hxx +++ b/vcl/inc/PhysicalFontFamily.hxx @@ -78,7 +78,7 @@ static void CalcType( ImplFontAttrs& rType, FontWeight& rWeight, Fon FontFamily eFamily, const utl::FontNameAttr* pFontAttr ); private: - std::vector< PhysicalFontFace* > maFontFaces; + std::vector< std::unique_ptr<PhysicalFontFace> > maFontFaces; OUString maFamilyName; // original font family name OUString maSearchName; // normalized font family name |