summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2012-08-18 11:24:20 +0200
committerEike Rathke <erack@redhat.com>2012-08-20 16:38:06 +0200
commit5b985dcf72d31cee191711f879675ec9affa2f76 (patch)
tree05d6af3ed4668a13aced786ff9f6ee6497e58e46
parent18ac29d515af36ae4240d5d48dfa7814cfd8d075 (diff)
fdo#47674 Save setting for Import Ascii Text Dlg
Caption of Dlg is missing Filename for import of CSV Change-Id: Ia7202229e012008d1dd4ec6f7df0457d19e92a6c
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index 4a25381d9090..c3bfdbc98431 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -303,14 +303,13 @@ ScImportAsciiDlg::ScImportAsciiDlg( Window* pParent,String aDatName,
String aName = GetText();
switch (meCall)
{
+ case SC_TEXTTOCOLUMNS:
+ SetText( maStrTextToColumns );
+ break;
case SC_IMPORTFILE:
aName.AppendAscii(RTL_CONSTASCII_STRINGPARAM(" - ["));
aName += aDatName;
aName += ']';
- break;
- case SC_TEXTTOCOLUMNS:
- SetText( maStrTextToColumns );
- break;
default:
SetText( aName );
}