[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Tue Dec 16 06:41:30 PST 2014


 sc/source/ui/dbgui/asciiopt.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 34b367695baf66bcf797bb7654d753269ef3304a
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Sun Dec 14 21:03:08 2014 +0100

    no separator really means no separator, fdo#83027
    
    Change-Id: I612a46701e7447db63f38ed709e8693d0533710d
    Reviewed-on: https://gerrit.libreoffice.org/13474
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>
    Reviewed-on: https://gerrit.libreoffice.org/13487
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index ef39fdf..91ef413 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -361,8 +361,7 @@ sal_Unicode ScAsciiOptions::GetWeightedFieldSep( const OUString & rFieldSeps, bo
     OUString aFieldSeps( bDecodeNumbers ? lcl_decodeSepString( rFieldSeps, bMergeFieldSeps) : rFieldSeps);
     if (aFieldSeps.isEmpty())
     {
-        SAL_WARN( "sc.ui", "ScAsciiOptions::GetWeightedFieldSep - no separator at all, using ',' comma");
-        return ',';
+        return 0;
     }
     else if (aFieldSeps.getLength() == 1)
         return aFieldSeps[0];


More information about the Libreoffice-commits mailing list