diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-30 14:31:30 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-30 14:32:11 -0500 |
commit | 4e85af9d9315fb72b868cc2b2c8f599fae6f7ec0 (patch) | |
tree | c7e3de28ba114498427edf76a16229714c435073 /sc/source | |
parent | 9a623cdca281a682d39b423aefac392c2cc22cf7 (diff) |
This part requires orcus library presence.
Change-Id: I6bfba9872deb7318721ce4d73795ef7569a24e89
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/docshell/datastream.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx index a21cba402d4b..35665a2d8a14 100644 --- a/sc/source/ui/docshell/datastream.cxx +++ b/sc/source/ui/docshell/datastream.cxx @@ -269,10 +269,11 @@ private: DataStream::Line& rLine = (*pLines)[i]; rLine.maCells.clear(); mpStream->ReadLine(rLine.maLine); - +#if ENABLE_ORCUS CSVHandler aHdl(rLine, mnColCount); orcus::csv_parser<CSVHandler> parser(rLine.maLine.getStr(), rLine.maLine.getLength(), aHdl, maConfig); parser.parse(); +#endif } aGuard.reset(); // lock |