summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/sheetdatacontext.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2013-11-27 18:11:34 +0000
committerMichael Meeks <michael.meeks@collabora.com>2013-11-27 19:19:50 +0000
commit0710299634a2276749c36ed86a5a60a20d63073f (patch)
tree6bcd379e905c902d50cb9a10b3fcc6d53d55f4dc /sc/source/filter/oox/sheetdatacontext.cxx
parent8bdf8dc075928bd0eb3e49ac0f51727c0677dc37 (diff)
sc: threaded parsing of the core data inside large XLSX files
Enabled in experimental mode only or via SC_IMPORT_THREADS=<N> this allows significant parallelisation of sheet reading. I also implement a simple thread pool to manage that. Change-Id: I66c72211f2699490230e993a374c26b1892eac12
Diffstat (limited to 'sc/source/filter/oox/sheetdatacontext.cxx')
-rw-r--r--sc/source/filter/oox/sheetdatacontext.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/oox/sheetdatacontext.cxx b/sc/source/filter/oox/sheetdatacontext.cxx
index 5170234158ea..9a0f7dfd83f6 100644
--- a/sc/source/filter/oox/sheetdatacontext.cxx
+++ b/sc/source/filter/oox/sheetdatacontext.cxx
@@ -90,6 +90,12 @@ SheetDataContext::SheetDataContext( WorksheetFragmentBase& rFragment ) :
mnRow( -1 ),
mnCol( -1 )
{
+ SAL_INFO( "sc.filter", "start safe sheet data context - unlock\n" );
+}
+
+SheetDataContext::~SheetDataContext()
+{
+ SAL_INFO( "sc.filter", "end safe sheet data context - relock\n" );
}
ContextHandlerRef SheetDataContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs )