[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 19 19:19:40 UTC 2019
sw/source/core/doc/doc.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2b9392b7969b59425ff81cd4a8837dd3b1f8f284
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Jan 31 11:32:27 2019 +0100
Commit: Andras Timar <andras.timar at collabora.com>
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 <szymon.klos at collabora.com>
Tested-by: Szymon Kłos <szymon.klos at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/72321
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
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();
}
More information about the Libreoffice-commits
mailing list