diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 14:16:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 06:41:54 +0000 |
commit | 90df5ee10727719aa1407ed4d1f06d7a790d6871 (patch) | |
tree | cac021b05b025d0e89c6beed20af4578cf34f437 /l10ntools/inc | |
parent | d33d2a65a4ee54780ac005334bee176ddeec68fc (diff) |
new loplugin: useuniqueptr: jvmfwk..sax
Change-Id: I732e2e22c6f953f0982fbc8833453e7c23cf9d49
Reviewed-on: https://gerrit.libreoffice.org/33166
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/export.hxx | 4 | ||||
-rw-r--r-- | l10ntools/inc/po.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 220259c02528..d04d85cf5a98 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -282,13 +282,13 @@ class MergeData public: OString sGID; OString sLID; - MergeEntrys* pMergeEntrys; + std::unique_ptr<MergeEntrys> pMergeEntrys; private: MergeDataHashMap::iterator m_aNextData; public: MergeData( const OString &rGID, const OString &rLID ); ~MergeData(); - MergeEntrys* GetMergeEntries() { return pMergeEntrys;} + MergeEntrys* GetMergeEntries() { return pMergeEntrys.get();} }; diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx index ce1443d26d14..52c644f176cb 100644 --- a/l10ntools/inc/po.hxx +++ b/l10ntools/inc/po.hxx @@ -78,7 +78,7 @@ class PoHeader { private: - GenPoEntry* m_pGenPo; + std::unique_ptr<GenPoEntry> m_pGenPo; bool m_bIsInitialized; public: |