Searched hist:"6 c882b5c" (Results 1 – 2 of 2) sorted by relevance
/aoo41x/main/connectivity/source/inc/flat/ |
H A D | ETable.hxx | diff 6c882b5c Sun Apr 03 15:02:59 UTC 2016 damjan <damjan@13f79535-47bb-0310-9956-ffa450edef68> #i122754# Base does not properly parse CSV files as per RFC-4180 (while Calc does) The flat file driver, in file main/connectivity/source/drivers/flat/ETable.cxx, method OFlatTable::fillColumns(), which reads lines to initialize columns, assumes fields in the header and the first few lines never continue onto the next line(s). This causes truncation of columns when they do. Read all lines using the readLine() method instead of SvStream::ReadByteStringLine(), which takes overflow onto next lines into account. Also implement a new version of readLine() which allows reading into an arbitrary string, as opposed to m_aCurrentLine only. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1737591 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 6b41ff7abde450fb0368489eb47c02e30b544097)
|
/aoo41x/main/connectivity/source/drivers/flat/ |
H A D | ETable.cxx | diff 6c882b5c Sun Apr 03 15:02:59 UTC 2016 damjan <damjan@13f79535-47bb-0310-9956-ffa450edef68> #i122754# Base does not properly parse CSV files as per RFC-4180 (while Calc does) The flat file driver, in file main/connectivity/source/drivers/flat/ETable.cxx, method OFlatTable::fillColumns(), which reads lines to initialize columns, assumes fields in the header and the first few lines never continue onto the next line(s). This causes truncation of columns when they do. Read all lines using the readLine() method instead of SvStream::ReadByteStringLine(), which takes overflow onto next lines into account. Also implement a new version of readLine() which allows reading into an arbitrary string, as opposed to m_aCurrentLine only. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1737591 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 6b41ff7abde450fb0368489eb47c02e30b544097)
|
Completed in 19 milliseconds