diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2012-08-04 22:07:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-08-14 15:41:42 +0200 |
commit | 597bdd89d108fb8325d81f5b30ffdd0d3ea68072 (patch) | |
tree | add095f51488339b3a93f196f5af83a83a891634 /sc/source/ui/view/viewfun5.cxx | |
parent | ea7b1af01511d147ba7bfea925d407e72723a7db (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/view/viewfun5.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun5.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx index 6f7e890bec72..be970f4250c7 100644 --- a/sc/source/ui/view/viewfun5.cxx +++ b/sc/source/ui/view/viewfun5.cxx @@ -340,12 +340,13 @@ sal_Bool ScViewFunc::PasteDataFormat( sal_uLong nFormatId, ScAbstractDialogFactory::Create(); AbstractScImportAsciiDlg *pDlg = pFact->CreateScImportAsciiDlg( NULL, String(), &aStrm, - RID_SCDLG_ASCII); + RID_SCDLG_ASCII, SC_PASTETEXT); if (pDlg->Execute() == RET_OK) { ScAsciiOptions aOptions; pDlg->GetOptions( aOptions ); + pDlg->SaveParameters(); aObj.SetExtOptions( aOptions ); bRet = aObj.ImportString( aStr, nFormatId ); |