[Libreoffice-commits] .: tools/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Nov 10 00:49:00 PST 2010


 tools/source/stream/stream.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4d6dfa9f75ea63c58730f634374e666af4c5b17f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 10 08:48:42 2010 +0000

    make this build

diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index c0f78e2..7794158 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)


More information about the Libreoffice-commits mailing list