From 0df31898281a771821d62ad419c7343da72cfb51 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 2 Jul 2018 11:02:59 +0200 Subject: loplugin:useuniqueptr in ScFunctionAccess Change-Id: I678bfbc54a1c35540bb7f2b76f4f7e5c7c62b23c Reviewed-on: https://gerrit.libreoffice.org/56826 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/funcuno.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc/funcuno.hxx') diff --git a/sc/inc/funcuno.hxx b/sc/inc/funcuno.hxx index d93cc41c6a2f..df65d249c212 100644 --- a/sc/inc/funcuno.hxx +++ b/sc/inc/funcuno.hxx @@ -61,7 +61,7 @@ class ScFunctionAccess : public cppu::WeakImplHelper< { private: ScTempDocCache aDocCache; - ScDocOptions* pOptions; + std::unique_ptr pOptions; SfxItemPropertyMap aPropertyMap; bool mbArray; bool mbValid; -- cgit