diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-23 15:06:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-23 18:00:35 +0200 |
commit | 36940a6506d72b91e6f9fc33ec42b57058ebc5da (patch) | |
tree | f6921709253e975e7f70d934c0710fabfc0a3a93 /sc | |
parent | 00fa364a2403dc23a786d3f91fde06e10b3a4a9a (diff) |
dbase import seems to require that the file end in .dbf
Change-Id: I7c5a3f6e9d8368e780c50626ba7457999389f19f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122529
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 013c59f8adac..7b7c727e8e1e 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -3416,8 +3416,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportDBF(SvStream &rStream) aTmpDir.EnableKillingFile(); OUString sTmpDir = aTmpDir.GetURL(); - OUString sNoExtension; - utl::TempFile aTempInput(OUString(), true, &sNoExtension, &sTmpDir); + OUString sExtension(".dbf"); + utl::TempFile aTempInput(OUString(), true, &sExtension, &sTmpDir); aTempInput.EnableKillingFile(); SvStream* pInputStream = aTempInput.GetStream(StreamMode::WRITE); |