summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-27 17:28:05 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-06-29 14:38:46 +0000
commit2d5ffa8635a2cd64b46f0f30a4adb6fb8181c08e (patch)
tree403cbbf7e60d453a75ca0244e0e8779a25a12349 /sw
parent6fd975b1f6aca9fd26a202b4997a0485e1b8de46 (diff)
tdf#100495 sw: Exchange Database shouldn't delete the created odb file
(regression from f01f31201f9b26b3071ab25f9a5a3a0311ff7423) Change-Id: Ie5b83a82711229bda045b7ef7a9167cfd873f616 (cherry picked from commit 5a042dad2779eefc76269e14b888bd84df590aac) Reviewed-on: https://gerrit.libreoffice.org/26722 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index ea26ebcf74d4..be17f005cede 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -2714,7 +2714,6 @@ OUString SwDBManager::LoadAndRegisterDataSource(const DBConnURITypes type, const
// Cannot embed, as embedded data source would need the URL of the parent document.
OUString sHomePath(SvtPathOptions().GetWorkPath());
utl::TempFile aTempFile(sNewName, true, &sOutputExt, pDestDir ? pDestDir : &sHomePath);
- aTempFile.EnableKillingFile();
OUString sTmpName = aTempFile.GetURL();
xStore->storeAsURL(sTmpName, uno::Sequence<beans::PropertyValue>());
}