sw/source/core/doc/doc.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 173f3b4d67609ff43c46199f9f7d15ae955244ff Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Jan 31 11:32:27 2019 +0100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Fri Jul 10 21:56:40 2020 +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/72277 Reviewed-by: Michael Stahl <michael.st...@cib.de> Tested-by: Jenkins (cherry picked from commit 3f408f8d848c191654cd3f2ead95975b3a3cc933) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98538 Tested-by: Michael Weghorn <m.wegh...@posteo.de> Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx index e51b73577a4d..4848918d62f3 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