[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 23 16:01:13 UTC 2021
sc/source/ui/docshell/docsh.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 36940a6506d72b91e6f9fc33ec42b57058ebc5da
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 23 15:06:40 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 23 18:00:35 2021 +0200
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 at redhat.com>
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);
More information about the Libreoffice-commits
mailing list