diff options
Diffstat (limited to 'sc/source/ui/dbgui/scuiimoptdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/scuiimoptdlg.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx index f38e00fa9197..18c6b645034a 100644 --- a/sc/source/ui/dbgui/scuiimoptdlg.cxx +++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx @@ -135,8 +135,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(); |