diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-09 23:01:32 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-09 23:01:32 +0100 |
commit | 19eaac83c7559c46f09a3792befe3b527b04138a (patch) | |
tree | e94986109a6f7cba8f71f84585af17d5b6ecd891 /sc | |
parent | 10484e95212726619a1a2f94ce99ad3360b88e9b (diff) |
fix indentation
Change-Id: I5a721b2b55c003c34e24d83b9b5e09a88dde684b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/dataprovider.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/ui/docshell/dataprovider.cxx b/sc/source/ui/docshell/dataprovider.cxx index 2c9025caca85..80a6b2b19774 100644 --- a/sc/source/ui/docshell/dataprovider.cxx +++ b/sc/source/ui/docshell/dataprovider.cxx @@ -72,10 +72,10 @@ CSVFetchThread::CSVFetchThread(SvStream *pData): Thread("ReaderThread"), mpStream(pData), mbTerminate(false) - { - maConfig.delimiters.push_back(','); - maConfig.text_qualifier = '"'; - } +{ + maConfig.delimiters.push_back(','); + maConfig.text_qualifier = '"'; +} CSVFetchThread::~CSVFetchThread() { @@ -101,20 +101,20 @@ void CSVFetchThread::EndThread() void CSVFetchThread::execute() { - LinesType* pLines = new LinesType(10); + LinesType* pLines = new LinesType(10); - // Read & store new lines from stream. - for (Line & rLine : *pLines) - { - rLine.maCells.clear(); - mpStream->ReadLine(rLine.maLine); - CSVHandler aHdl(rLine, mnColCount); - orcus::csv_parser<CSVHandler> parser(rLine.maLine.getStr(), rLine.maLine.getLength(), aHdl, maConfig); - parser.parse(); - } + // Read & store new lines from stream. + for (Line & rLine : *pLines) + { + rLine.maCells.clear(); + mpStream->ReadLine(rLine.maLine); + CSVHandler aHdl(rLine, mnColCount); + orcus::csv_parser<CSVHandler> parser(rLine.maLine.getStr(), rLine.maLine.getLength(), aHdl, maConfig); + parser.parse(); + } - if (!mpStream->good()) - RequestTerminate(); + if (!mpStream->good()) + RequestTerminate(); } } |