diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 14:17:38 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-03-10 19:22:01 +0100 |
commit | 6529cd54c29c5800340530a1b8182c341fbeeafb (patch) | |
tree | 2b09ee9429a0759b8104575aa97e1f4aeadd443e /sc/inc/address.hxx | |
parent | 4ea605cb5c31fe4c7d3931a656782a652b4d96fc (diff) |
don't use heap for elements in ScRangeList
no need to store small objects like this out of line.
Also
- add move constructor and move assignment operator
- drop Assign method since it now has the same
signature as push_back
Change-Id: I9a8647d3a11f24166a83d399a358a2bce3b2cb79
Reviewed-on: https://gerrit.libreoffice.org/50899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r-- | sc/inc/address.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index a3c7040a21d5..ddc85469d349 100644 --- a/sc/inc/address.hxx +++ b/sc/inc/address.hxx @@ -480,7 +480,7 @@ inline bool ValidAddress( const ScAddress& rAddress ) } // ScRange -class SAL_WARN_UNUSED ScRange +class SAL_WARN_UNUSED ScRange final { public: ScAddress aStart; |