diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 10:30:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-05 07:31:11 +0100 |
commit | 34bda0fef87bf17440372d5663239c091c92b55b (patch) | |
tree | 383dbfe9679f8ea462b60535b490f7ea5e16829b /lotuswordpro/inc | |
parent | 6eab752bdf7c8f9c743d20fed29fd60cb4e241f6 (diff) |
loplugin:useuniqueptr in LwpFontTable
Change-Id: I91fd833fe42123845cd958b814112c367d964402
Reviewed-on: https://gerrit.libreoffice.org/50720
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/lwpfont.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/inc/lwpfont.hxx b/lotuswordpro/inc/lwpfont.hxx index 93fdce7fe882..6413f6ea887b 100644 --- a/lotuswordpro/inc/lwpfont.hxx +++ b/lotuswordpro/inc/lwpfont.hxx @@ -100,7 +100,7 @@ public: // void RegisterFontDecls(); private: sal_uInt16 m_nCount; - LwpFontTableEntry* m_pFontEntries; + std::unique_ptr<LwpFontTableEntry[]> m_pFontEntries; }; class LwpFontNameEntry |