summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 11:24:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 13:38:42 +0100
commit16676ea2e86b1b50ba653b736c5db4eb9f32acf9 (patch)
tree1c5d72c087e5b816572298c3a62d5eddde9566b9 /sc/inc
parentcc162981b82548349b4927cf3196ddcf54911850 (diff)
return unique_ptr in CreateFlatCopiedTokenArray
Change-Id: I0d44ad1eca45b0b77d5a898a553aab61b1f479a9 Reviewed-on: https://gerrit.libreoffice.org/69805 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/conditio.hxx2
1 files changed, 1 insertions, 1 deletions
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<ScTokenArray> CreateFlatCopiedTokenArray( sal_uInt16 nPos ) const;
void CompileAll();
void CompileXML();