diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-10 11:29:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-11 07:36:26 +0100 |
commit | 96d9bd226215194632b6b0b7b0153f41ade1fc47 (patch) | |
tree | c45412f68d86cd23e4405882af6b3a4aa8ac1bf2 /l10ntools/inc/cfgmerge.hxx | |
parent | f14b9d30293f180500fc56d81e5390021758e7c1 (diff) |
loplugin:useuniqueptr in l10ntools
update plugin to find all places where we are unconditionally deleting
stuff in a destructor
Change-Id: Ia0fedc2420c7717ed2bdd8d3bb00262d2a63e0bc
Reviewed-on: https://gerrit.libreoffice.org/47724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/inc/cfgmerge.hxx')
-rw-r--r-- | l10ntools/inc/cfgmerge.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index d2ec28475d39..d9ed5b6c356f 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -155,7 +155,7 @@ public: class CfgMerge : public CfgParser { private: - MergeDataFile *pMergeDataFile; + std::unique_ptr<MergeDataFile> pMergeDataFile; std::vector<OString> aLanguages; std::unique_ptr<ResData> pResData; |