Kaydet (Commit) 4e85af9d authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This part requires orcus library presence.

Change-Id: I6bfba9872deb7318721ce4d73795ef7569a24e89
üst 9a623cdc
...@@ -269,10 +269,11 @@ private: ...@@ -269,10 +269,11 @@ private:
DataStream::Line& rLine = (*pLines)[i]; DataStream::Line& rLine = (*pLines)[i];
rLine.maCells.clear(); rLine.maCells.clear();
mpStream->ReadLine(rLine.maLine); mpStream->ReadLine(rLine.maLine);
#if ENABLE_ORCUS
CSVHandler aHdl(rLine, mnColCount); CSVHandler aHdl(rLine, mnColCount);
orcus::csv_parser<CSVHandler> parser(rLine.maLine.getStr(), rLine.maLine.getLength(), aHdl, maConfig); orcus::csv_parser<CSVHandler> parser(rLine.maLine.getStr(), rLine.maLine.getLength(), aHdl, maConfig);
parser.parse(); parser.parse();
#endif
} }
aGuard.reset(); // lock aGuard.reset(); // lock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment