summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/stream/stream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 3cfb90020b1f..f00e7ff55068 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1062,7 +1062,7 @@ sal_Bool SvStream::ReadCsvLine( String& rStr, sal_Bool bEmbeddedLineBreak,
{
if (nQuotes)
{
- if (bTabSep && *p == '\t')
+ 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