[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Tue May 14 12:52:33 UTC 2019


 sw/source/core/doc/doc.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3f408f8d848c191654cd3f2ead95975b3a3cc933
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Jan 31 11:32:27 2019 +0100
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Tue May 14 14:51:49 2019 +0200

    tdf#122198 don't remove db after close
    
    Change-Id: Ib652174148e6997c1aabe0251a62612f28243d6e
    Reviewed-on: https://gerrit.libreoffice.org/67200
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit a4ac1a93b540ae22dd317d88b5c3da8a7678db24)
    Reviewed-on: https://gerrit.libreoffice.org/72277
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
    Tested-by: Jenkins

diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 5ed49270e5df..d5c49b0515b6 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -488,6 +488,8 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
     {
         maDBData = rNewData;
         getIDocumentState().SetModified();
+        if (m_pDBManager)
+            m_pDBManager->CommitLastRegistrations();
     }
     getIDocumentFieldsAccess().GetSysFieldType(SwFieldIds::DatabaseName)->UpdateFields();
 }


More information about the Libreoffice-commits mailing list