summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-03-01 15:07:02 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-03-23 09:09:06 +0100
commit65404cb35a334e4e252017820488fd1701592b01 (patch)
tree78560d0dc5baa137b65a7ceb507af530b0bad2c9 /sc/source/filter/inc
parent3f99ff783cb147c5f853230315a92cfb38eb14b9 (diff)
reuse a vector instead of repeatedly creating it (tdf#95346)
With some documents this actually is a noticeable cost. Change-Id: Ibaf2157eeba83e0c8f78c7ba058771f92bb44e24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130795 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r--sc/source/filter/inc/xetable.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 1e9e7cd45d2c..ed16140f6d68 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -853,6 +853,7 @@ public:
/** Converts all XF identifiers into the Excel XF indexes. */
void Finalize( const ScfUInt16Vec& rColXFIndexes,
+ ScfUInt16Vec& aXFIndexes,
size_t nStartColAllDefault,
bool bUpdateProgress );