[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sw/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 19 19:17:18 UTC 2019
sw/source/core/doc/doc.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f9d4fa971de738ee2a55f893992b727cff558676
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: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 <szymon.klos at collabora.com>
Tested-by: Szymon Kłos <szymon.klos at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/72412
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 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();
}
More information about the Libreoffice-commits
mailing list