sw/source/core/doc/docnew.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a1742456b460fd4e9ef9d17f112399dd2a210c23
Author: Tor Lillqvist <[email protected]>
AuthorDate: Thu Oct 11 18:24:42 2018 +0300
Commit: Michael Meeks <[email protected]>
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 <[email protected]>
Tested-by: Michael Meeks <[email protected]>
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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits