diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-10 08:48:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-10 08:48:42 +0000 |
commit | 6cd7b9b75b7d9a3d2eb89676bdfe925cd112f3b2 (patch) | |
tree | f3752e1e6502b93ea427bc1154d6563d4ead881f /tools | |
parent | 5455fee0cc7921f2f8706ac73bca533cc2895954 (diff) |
make this build
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index ac660cbffbcc..49c753b66ce7 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1108,10 +1108,11 @@ sal_Bool SvStream::ReadCsvLine( String& rStr, sal_Bool bEmbeddedLineBreak, if (bEmbeddedLineBreak) { + const sal_Unicode* pSeps = rFieldSeparators.GetBuffer(); + // See if the separator(s) include tab. bool bTabSep = lcl_UnicodeStrChr(pSeps, '\t') != NULL; - const sal_Unicode* pSeps = rFieldSeparators.GetBuffer(); xub_StrLen nLastOffset = 0; xub_StrLen nQuotes = 0; while (!IsEof() && rStr.Len() < STRING_MAXLEN) |