[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - sw/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 11 07:43:26 UTC 2019
sw/source/core/doc/doc.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b5f8fa488c5380ef459a21cbe5413f52eeebab6f
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Jan 31 11:32:27 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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.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/80554
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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();
}
More information about the Libreoffice-commits
mailing list