diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-18 13:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-19 09:35:21 +0000 |
commit | 0415cb335b953b9c10075fa524d7707db4aa55e5 (patch) | |
tree | f714106565c6c58a4711b21f966ecc09c8b83157 /include/tools | |
parent | c3e6d12301b42a44bd0d4584005686e324533b60 (diff) |
new loplugin: useuniqueptr: sot..tools
Change-Id: Ided435d016ae28e7c3f2726e41eedd981572ae10
Reviewed-on: https://gerrit.libreoffice.org/33263
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/simplerm.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tools/simplerm.hxx b/include/tools/simplerm.hxx index 28d008ed7e59..79e267ad07f2 100644 --- a/include/tools/simplerm.hxx +++ b/include/tools/simplerm.hxx @@ -27,13 +27,15 @@ #include <tools/resid.hxx> #include <i18nlangtag/languagetag.hxx> #include <tools/toolsdllapi.h> +#include <memory> class InternalResMgr; class TOOLS_DLLPUBLIC SimpleResMgr final { osl::Mutex m_aAccessSafety; - InternalResMgr* m_pResImpl; + std::unique_ptr<InternalResMgr> + m_pResImpl; public: /** creates a new SimpleResManager |