summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
authorGabriel Masei <gabriel.masei@1and1.ro>2024-04-09 13:07:18 +0300
committerAndras Timar <andras.timar@collabora.com>2024-10-09 14:49:11 +0200
commit565b619d57a3b98b0826c4b49dee6606f9ae70e0 (patch)
treec2fa077a576ce94a2fa5131c19c84bee84faa21d /sc/source/ui/docshell/docsh.cxx
parent2f1dcf01d713f786ed1bfdc2ba3b6c9e06fb8ecf (diff)
tdf#160582 Preserve settings saving in csv import dialog
Also, improve detection algorithm by replacing the limit of 20 lines with a time limit of 500ms. Change-Id: Iac519b6ebe675b91ce84b900646d9d320ea9ddc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165905 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 4b8e5f041c8d..7ef50cc7a8d3 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -1354,7 +1354,7 @@ bool ScDocShell::ConvertFrom( SfxMedium& rMedium )
if ( const SfxStringItem* pOptionsItem = rMedium.GetItemSet().GetItemIfSet( SID_FILE_FILTEROPTIONS ) )
{
- aOptions.ReadFromString( pOptionsItem->GetValue() );
+ aOptions.ReadFromString( pOptionsItem->GetValue(), rMedium.GetInStream() );
bOptInit = true;
}