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

New commits:
commit b5f8fa488c5380ef459a21cbe5413f52eeebab6f
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Thu Jan 31 11:32:27 2019 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Fri Oct 11 09:42:37 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.k...@collabora.com>
    Tested-by: Szymon Kłos <szymon.k...@collabora.com>
    (cherry picked from commit a4ac1a93b540ae22dd317d88b5c3da8a7678db24)
    Reviewed-on: https://gerrit.libreoffice.org/80554
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
    Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 4f4fb864512e..fa015f9e29a2 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -490,6 +490,8 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
     {
         maDBData = rNewData;
         getIDocumentState().SetModified();
+        if (m_pDBManager)
+            m_pDBManager->CommitLastRegistrations();
     }
     
getIDocumentFieldsAccess().GetSysFieldType(SwFieldIds::DatabaseName)->UpdateFields();
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to