summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/doc.cxx2
1 files changed, 2 insertions, 0 deletions
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();
}