[Libreoffice-commits] core.git: sw/source

Michael Stahl mstahl at redhat.com
Mon Jun 27 15:48:31 UTC 2016


 sw/source/uibase/dbui/dbmgr.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 5a042dad2779eefc76269e14b888bd84df590aac
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jun 27 17:28:05 2016 +0200

    tdf#100495 sw: Exchange Database shouldn't delete the created odb file
    
    (regression from f01f31201f9b26b3071ab25f9a5a3a0311ff7423)
    
    Change-Id: Ie5b83a82711229bda045b7ef7a9167cfd873f616

diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 9f1caba..e4ea4755 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>());
             }


More information about the Libreoffice-commits mailing list