[Libreoffice-commits] core.git: Branch 'feature/perfwork4' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Sun Nov 2 20:31:49 PST 2014
sc/source/filter/excel/xetable.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ccb97bf357dee5d62fbd82a96f51e01366b47afc
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Sun Nov 2 23:29:47 2014 -0500
Windows build fix.
Change-Id: I098a936c3d1998a234a82547d164afcd493f1e41
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index 174b78a..bf9830d 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -2078,7 +2078,7 @@ void XclExpRowBuffer::Finalize( XclExpDefaultRowData& rDefRowData, const ScfUInt
else
{
comphelper::ThreadPool &rPool = comphelper::ThreadPool::getSharedOptimalPool();
- RowFinalizeTask *pTasks[ nThreads ];
+ std::vector<RowFinalizeTask*> pTasks(nThreads, NULL);
for ( size_t i = 0; i < nThreads; i++ )
pTasks[ i ] = new RowFinalizeTask( rColXFIndexes, i == 0 );
More information about the Libreoffice-commits
mailing list