[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 30 13:55:23 UTC 2018
sw/source/core/doc/docnew.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a1742456b460fd4e9ef9d17f112399dd2a210c23
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Oct 11 18:24:42 2018 +0300
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Oct 30 14:54:59 2018 +0100
Initialise mpDBManager to nullptr in the !HAVE_FEATURE_DBCONNECTIVITY case
Change-Id: Id18bafaaf8f5315a0590687d98ea97952bdf883b
Reviewed-on: https://gerrit.libreoffice.org/62624
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 2fae0c3597d4..1d2fd5c6ef8a 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -347,6 +347,8 @@ SwDoc::SwDoc()
#if HAVE_FEATURE_DBCONNECTIVITY
// Create DBManager
mpDBManager = new SwDBManager(this);
+#else
+ mpDBManager = nullptr;
#endif
// create TOXTypes
More information about the Libreoffice-commits
mailing list