diff options
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/dataprovider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/dataprovider.cxx b/sc/source/ui/docshell/dataprovider.cxx index 7df702ca4d29..76f3776b7a4e 100644 --- a/sc/source/ui/docshell/dataprovider.cxx +++ b/sc/source/ui/docshell/dataprovider.cxx @@ -106,10 +106,10 @@ void CSVFetchThread::EndThread() void CSVFetchThread::execute() { - LinesType* pLines = new LinesType(10); + LinesType aLines(10); // Read & store new lines from stream. - for (Line & rLine : *pLines) + for (Line & rLine : aLines) { rLine.maCells.clear(); mpStream->ReadLine(rLine.maLine); |