diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-10 10:51:01 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-10 10:55:23 -0500 |
commit | e0425f9493e25fa14f11505d9ebc12a2fe78d4b6 (patch) | |
tree | 484c45b269b18f3182d100b922d990d957f20bd0 /sc | |
parent | 06f85d41d02ebef76487b230f35f2ec638c46c8b (diff) |
Globally disable threading for these for now.
It doesn't win us much performance-wise (as it turned out), and causes
weird crashers with large documents.
Change-Id: I0566ce850b8f6656e6f9821c653b7a825a7874a3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xetable.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 66df5d65a8e1..84fdaec2b157 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -2069,6 +2069,7 @@ void XclExpRowBuffer::Finalize( XclExpDefaultRowData& rDefRowData, const ScfUInt // on its own data. size_t nRows = maRowMap.size(); size_t nThreads = std::max( std::thread::hardware_concurrency(), 1U ); + nThreads = 1; // globally disable multi-threading for now. if ( nThreads == 1 || nRows < 128 ) { RowMap::iterator itr, itrBeg = maRowMap.begin(), itrEnd = maRowMap.end(); |