[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - sc/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Mon Dec 15 13:51:16 PST 2014


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

New commits:
commit d156a160a45337fdcdca25515cb8c723d799cb21
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>

diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index 1072a89..4b7c1b8 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -366,8 +366,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