summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/scuiimoptdlg.cxx
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2012-07-23 01:05:37 +0000
committerEike Rathke <erack@redhat.com>2013-03-26 21:55:20 +0100
commiteec63d5e1d82c7809e14e46aa7cc9d9f71d2f2fa (patch)
tree95c9e2f4cdbe90d3ee99f472500fcfa76a8c4f97 /sc/source/ui/dbgui/scuiimoptdlg.cxx
parent3b42b4442e7749fe93807ab9fa8e3f5f29ba0566 (diff)
i#120341# - Make SCSTR_FIELDSEP less translation-error-prone
(cherry picked from commit 30441cd652260941ade8f3e6898205ab2a1d0cdf) Conflicts: sc/inc/sc.hrc Change-Id: Ia306ca5b791504590657fcb8b6e404a75f8a4c79
Diffstat (limited to 'sc/source/ui/dbgui/scuiimoptdlg.cxx')
-rw-r--r--sc/source/ui/dbgui/scuiimoptdlg.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx
index 0b63c33cd7f9..1c231bf1e340 100644
--- a/sc/source/ui/dbgui/scuiimoptdlg.cxx
+++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx
@@ -133,8 +133,12 @@ ScImportOptionsDlg::ScImportOptionsDlg(
aBtnCancel ( this, ScResId( BTN_CANCEL ) ),
aBtnHelp ( this, ScResId( BTN_HELP ) )
{
+ String sFieldSep( ScResId( SCSTR_FIELDSEP ) );
+ sFieldSep.SearchAndReplaceAscii( "%TAB", String(ScResId(SCSTR_FIELDSEP_TAB)) );
+ sFieldSep.SearchAndReplaceAscii( "%SPACE", String(ScResId(SCSTR_FIELDSEP_SPACE)) );
+
// im Ctor-Initializer nicht moeglich (MSC kann das nicht):
- pFieldSepTab = new ScDelimiterTable( String(ScResId(SCSTR_FIELDSEP)) );
+ pFieldSepTab = new ScDelimiterTable( sFieldSep );
pTextSepTab = new ScDelimiterTable( String(ScResId(SCSTR_TEXTSEP)) );
String aStr = pFieldSepTab->FirstDel();