From 0415cb335b953b9c10075fa524d7707db4aa55e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Jan 2017 13:57:55 +0200 Subject: new loplugin: useuniqueptr: sot..tools Change-Id: Ided435d016ae28e7c3f2726e41eedd981572ae10 Reviewed-on: https://gerrit.libreoffice.org/33263 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/tools/simplerm.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/tools') 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 #include #include +#include class InternalResMgr; class TOOLS_DLLPUBLIC SimpleResMgr final { osl::Mutex m_aAccessSafety; - InternalResMgr* m_pResImpl; + std::unique_ptr + m_pResImpl; public: /** creates a new SimpleResManager -- cgit