summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
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
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')
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx9
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx3
2 files changed, 3 insertions, 9 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;
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index f5b2e91b6a0c..a6a8ad5df709 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -119,7 +119,6 @@ class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg //add for
{
DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl, ScImportAsciiDlg)
virtual void GetOptions( ScAsciiOptions& rOpt );
- virtual void SetTextToColumnsMode();
virtual void SaveParameters();
};
@@ -412,7 +411,7 @@ public:
virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( Window* pParent, String aDatName, //add for ScImportAsciiDlg
SvStream* pInStream, int nId,
- sal_Unicode cSep = '\t');
+ ScImportAsciiCall eCall);
virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg( Window* pParent, int nId );