sw/source/core/doc/doc.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2b9392b7969b59425ff81cd4a8837dd3b1f8f284
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:19:06 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/72321
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 c39b7989b116..643da85715ba 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -489,6 +489,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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits