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

New commits:
commit f9d4fa971de738ee2a55f893992b727cff558676
Author:     Szymon Kłos <[email protected]>
AuthorDate: Thu Jan 31 11:32:27 2019 +0100
Commit:     Andras Timar <[email protected]>
CommitDate: Sun May 19 21:16:44 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 <[email protected]>
    Tested-by: Szymon Kłos <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/72412
    Reviewed-by: Andras Timar <[email protected]>
    Tested-by: Andras Timar <[email protected]>

diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index fa00bff3350f..397a8297033c 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -487,6 +487,8 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
     {
         maDBData = rNewData;
         getIDocumentState().SetModified();
+        if (mpDBManager)
+            mpDBManager->CommitLastRegistrations();
     }
     getIDocumentFieldsAccess().GetSysFieldType(RES_DBNAMEFLD)->UpdateFields();
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to