From f1dc76532638a5093b878919a3c7dd3aa5d22f09 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 27 Jun 2016 17:28:05 +0200 Subject: tdf#100495 sw: Exchange Database shouldn't delete the created odb file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (regression from f01f31201f9b26b3071ab25f9a5a3a0311ff7423) Change-Id: Ie5b83a82711229bda045b7ef7a9167cfd873f616 (cherry picked from commit 5a042dad2779eefc76269e14b888bd84df590aac) Reviewed-on: https://gerrit.libreoffice.org/26723 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/uibase/dbui/dbmgr.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index bfe28a3b1840..abcf7072c41f 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -2698,7 +2698,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()); } -- cgit