summaryrefslogtreecommitdiff
path: root/l10ntools/inc
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/inc')
-rw-r--r--l10ntools/inc/export.hxx4
-rw-r--r--l10ntools/inc/po.hxx2
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: