de5d547
From f31362eb144153c914f1ae0cdda6fe8312c1152d Mon Sep 17 00:00:00 2001
de5d547
Message-Id: <f31362eb144153c914f1ae0cdda6fe8312c1152d.1334148872.git.erack@redhat.com>
de5d547
From: Eike Rathke <erack@redhat.com>
de5d547
Date: Wed, 4 Apr 2012 20:17:22 +0200
de5d547
Subject: [PATCH] resolved fdo#38088 rhbz#810267 better CSV import default separators
de5d547
MIME-Version: 1.0
de5d547
Content-Type: multipart/mixed; boundary="------------erAck-patch-parts"
de5d547
de5d547
This is a multi-part message in MIME format.
de5d547
--------------erAck-patch-parts
de5d547
Content-Type: text/plain; charset=UTF-8; format=fixed
de5d547
Content-Transfer-Encoding: 8bit
de5d547
de5d547
---
de5d547
 .../registry/schema/org/openoffice/Office/Calc.xcs |    2 +-
de5d547
 sc/source/ui/dbgui/scuiasciiopt.cxx                |    2 +-
de5d547
 2 files changed, 2 insertions(+), 2 deletions(-)
de5d547
de5d547
de5d547
--------------erAck-patch-parts
de5d547
Content-Type: text/x-patch; name="0001-fdo-33088-better-CSV-import-default-separators.patch"
de5d547
Content-Transfer-Encoding: 8bit
de5d547
Content-Disposition: attachment; filename="0001-fdo-33088-better-CSV-import-default-separators.patch"
de5d547
de5d547
diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
de5d547
index 700d716..0cd2ff3 100644
de5d547
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
de5d547
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
b13fcde
@@ -1063,7 +1063,7 @@
de5d547
                         <desc>List of Separators - as a String</desc>
de5d547
                         <label>Separators</label>
de5d547
                     </info>
de5d547
-                    <value>;    </value>
de5d547
+                    <value>,;	</value>
de5d547
                 </prop>
b13fcde
                 <prop oor:name="TextSeparators" oor:type="xs:string">
de5d547
                     <info>
de5d547
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
de5d547
index 93d5cfc..2a3a2b94 100644
de5d547
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
de5d547
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
de5d547
@@ -268,7 +268,7 @@ ScImportAsciiDlg::ScImportAsciiDlg( Window* pParent,String aDatName,
de5d547
     SetText( aName );
de5d547
 
de5d547
     // Default options
de5d547
-    OUString sFieldSeparators(RTL_CONSTASCII_USTRINGPARAM("\t"));
de5d547
+    OUString sFieldSeparators(RTL_CONSTASCII_USTRINGPARAM(",;\t"));
de5d547
     OUString sTextSeparators(mcTextSep);
de5d547
     bool bMergeDelimiters = false;
de5d547
     bool bFixedWidth = false;
de5d547
de5d547
--------------erAck-patch-parts--
de5d547
de5d547