summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-02 11:02:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-03 08:16:51 +0200
commit0df31898281a771821d62ad419c7343da72cfb51 (patch)
treeb6f72ca4d14da7b740cf07ceded7381448b19617 /sc/inc
parent6118675b1f6bd37589d88d5893dffd41501cf624 (diff)
loplugin:useuniqueptr in ScFunctionAccess
Change-Id: I678bfbc54a1c35540bb7f2b76f4f7e5c7c62b23c Reviewed-on: https://gerrit.libreoffice.org/56826 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/funcuno.hxx2
1 files changed, 1 insertions, 1 deletions
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<ScDocOptions> pOptions;
SfxItemPropertyMap aPropertyMap;
bool mbArray;
bool mbValid;