summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg/scdlgfact.cxx
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2012-08-04 22:07:20 +0200
committerEike Rathke <erack@redhat.com>2012-08-14 15:41:42 +0200
commit597bdd89d108fb8325d81f5b30ffdd0d3ea68072 (patch)
treeadd095f51488339b3a93f196f5af83a83a891634 /sc/source/ui/attrdlg/scdlgfact.cxx
parentea7b1af01511d147ba7bfea925d407e72723a7db (diff)
fdo#47674 Save settings for Import Ascii Text Dlg
Add save of settings for Paste Unformatted Text and Text to Columns. Remove useless cSep parameter because default are set in Calc.xcs Change-Id: Iff4b976f434a63d2d1f56e497852c7c1e763151c
Diffstat (limited to 'sc/source/ui/attrdlg/scdlgfact.cxx')
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index 4dd5292133dd..eb341068d6a8 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -161,11 +161,6 @@ void AbstractScImportAsciiDlg_Impl::GetOptions( ScAsciiOptions& rOpt )
pDlg->GetOptions( rOpt );
}
-void AbstractScImportAsciiDlg_Impl::SetTextToColumnsMode()
-{
- pDlg->SetTextToColumnsMode();
-}
-
void AbstractScImportAsciiDlg_Impl::SaveParameters()
{
pDlg->SaveParameters();
@@ -657,13 +652,13 @@ bool AbstractScTextImportOptionsDlg_Impl::IsDateConversionSet() const
AbstractScImportAsciiDlg * ScAbstractDialogFactory_Impl::CreateScImportAsciiDlg ( Window* pParent, String aDatName,
- SvStream* pInStream, int nId, sal_Unicode cSep )
+ SvStream* pInStream, int nId, ScImportAsciiCall eCall )
{
ScImportAsciiDlg* pDlg=NULL;
switch ( nId )
{
case RID_SCDLG_ASCII :
- pDlg = new ScImportAsciiDlg( pParent, aDatName,pInStream, cSep );
+ pDlg = new ScImportAsciiDlg( pParent, aDatName,pInStream, eCall );
break;
default:
break;