summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-13 17:35:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-14 07:18:41 +0100
commitbb787e7b45efb5e25b4b6d57a42efa916510b5f5 (patch)
treeca6309e90850d28c810fbf92efc4711a56916e18 /sc/inc
parentc775efffa7ddcee607bd7622a19a627545a6bc67 (diff)
modernize ScRangePairList::CreateNameSortedArray
we have this STL thingy now, pretty cool Change-Id: Id96010dda59736bd0c143312424018b6ea5621f1 Reviewed-on: https://gerrit.libreoffice.org/51230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/rangelst.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/rangelst.hxx b/sc/inc/rangelst.hxx
index d78c7054499d..e137613df857 100644
--- a/sc/inc/rangelst.hxx
+++ b/sc/inc/rangelst.hxx
@@ -139,7 +139,8 @@ public:
void DeleteOnTab( SCTAB nTab );
ScRangePair* Find( const ScAddress& ) const;
ScRangePair* Find( const ScRange& ) const;
- ScRangePair** CreateNameSortedArray( size_t& nCount, ScDocument* ) const;
+ std::vector<ScRangePair*>
+ CreateNameSortedArray( ScDocument* ) const;
void Remove(size_t nPos);
void Remove(const ScRangePair* pAdr);