From 2589cb2a7eba778c249eaa938eb1bf934c6bf3b4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Feb 2018 10:05:13 +0200 Subject: loplugin:useuniqueptr in OLEObjCache Change-Id: Ie16963e2b3b9d85d5640f03daa487dbe231af4a1 Reviewed-on: https://gerrit.libreoffice.org/49272 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/svdetc.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/svx') diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx index ef62a825245a..20d37c3c6d4f 100644 --- a/include/svx/svdetc.hxx +++ b/include/svx/svdetc.hxx @@ -27,6 +27,7 @@ #include #include #include +#include /** @@ -162,7 +163,7 @@ class OLEObjCache std::vector maObjs; size_t nSize; - AutoTimer* pTimer; + std::unique_ptr pTimer; static bool UnloadObj( SdrOle2Obj* pObj ); DECL_LINK( UnloadCheckHdl, Timer*, void ); -- cgit