diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-18 09:47:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-18 09:26:26 +0000 |
commit | 352e036ada79bee79b0b52352cab4b05695b1abf (patch) | |
tree | cc6f80c827672e636a4db0e66d68f1edffabb4f7 /include/svtools/ehdl.hxx | |
parent | d0cbdac23ba545091eb9fac8b114cfc20df74ebf (diff) |
new loplugin: useuniqueptr: svl..svtools
Change-Id: Ia4d5b37ee3cf67318e3cc01525e4b733af60d038
Reviewed-on: https://gerrit.libreoffice.org/33251
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/ehdl.hxx')
-rw-r--r-- | include/svtools/ehdl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx index 653af7ef30cc..cb73990d31ce 100644 --- a/include/svtools/ehdl.hxx +++ b/include/svtools/ehdl.hxx @@ -62,7 +62,8 @@ private: sal_uLong lEnd; sal_uInt16 nId; ResMgr *pMgr; - ResMgr *pFreeMgr; + std::unique_ptr<ResMgr> + pFreeMgr; SVT_DLLPRIVATE static void GetClassString(sal_uLong lErrId, OUString &); virtual bool CreateString( const ErrorInfo *, OUString &, sal_uInt16 &) const override; |