summaryrefslogtreecommitdiff
path: root/sc/inc/tokenarray.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-09 14:00:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-10 11:22:25 +0100
commit60a66bd57d17a2f72fbf852faf1eaad87eac6dec (patch)
tree6b9e514c3422fdf2ef436533db48ee6fbb68c663 /sc/inc/tokenarray.hxx
parent612941b64970b3e1f246652a8661fbaa56373242 (diff)
pass ScTokenArray around by unique_ptr
Change-Id: I611554b1c4cbc506dbfc32748e9f14c9e8eb5156 Reviewed-on: https://gerrit.libreoffice.org/66022 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/tokenarray.hxx')
-rw-r--r--sc/inc/tokenarray.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 1e747e8b5dcc..dca885713b01 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -67,7 +67,7 @@ public:
bool EqualTokens( const ScTokenArray* pArr2 ) const;
virtual void Clear() override;
- ScTokenArray* Clone() const; /// True copy!
+ std::unique_ptr<ScTokenArray> Clone() const; /// True copy!
void GenHash();
size_t GetHash() const { return mnHashValue;}