diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 9b466bfd1864..e09a139ccc57 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -2302,9 +2302,6 @@ OUString ReadCsvLine( SvStream &rStream, bool bEmbeddedLineBreak, { const sal_Unicode* pSeps = rFieldSeparators.GetBuffer(); - // See if the separator(s) include tab. - bool bTabSep = lcl_UnicodeStrChr(pSeps, '\t') != NULL; - QuoteType eQuoteState = FIELDEND_QUOTE; bool bFieldStart = true; @@ -2319,16 +2316,6 @@ OUString ReadCsvLine( SvStream &rStream, bool bEmbeddedLineBreak, { if (nQuotes) { - if (bTabSep && *p == '\t' && (nQuotes % 2) != 0) - { - // When tab-delimited, tab char ends quoted sequence - // even if we haven't reached the end quote. Doing - // this helps keep mal-formed rows from damaging - // other, well-formed rows. - nQuotes = 0; - break; - } - if (*p == cFieldQuote) { if (bFieldStart) |