summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 10:30:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-05 07:31:11 +0100
commit34bda0fef87bf17440372d5663239c091c92b55b (patch)
tree383dbfe9679f8ea462b60535b490f7ea5e16829b /lotuswordpro/inc
parentloplugin:useuniqueptr in LwpVirtualPiece (diff)
downloadcore-34bda0fef87bf17440372d5663239c091c92b55b.tar.gz
core-34bda0fef87bf17440372d5663239c091c92b55b.zip
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.hxx2
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