From 16676ea2e86b1b50ba653b736c5db4eb9f32acf9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2019 11:24:41 +0200 Subject: return unique_ptr in CreateFlatCopiedTokenArray Change-Id: I0d44ad1eca45b0b77d5a898a553aab61b1f479a9 Reviewed-on: https://gerrit.libreoffice.org/69805 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/conditio.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc') diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index ae1097078c15..4651f7453b04 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -380,7 +380,7 @@ public: /** Create a flat copy using ScTokenArray copy-ctor with shared tokens. */ - ScTokenArray* CreateFlatCopiedTokenArray( sal_uInt16 nPos ) const; + std::unique_ptr CreateFlatCopiedTokenArray( sal_uInt16 nPos ) const; void CompileAll(); void CompileXML(); -- cgit v1.2.3