summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docnew.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-11 18:24:42 +0300
committerTor Lillqvist <tml@collabora.com>2018-10-11 19:57:40 +0300
commit5268927d390295015abb68abcd310167abe8b8bd (patch)
treeeb02be9a2e08cfb7b8b9bcd4b1111a4cce30989e /sw/source/core/doc/docnew.cxx
parent4dcd54067d27376bd66402318ac891257191d805 (diff)
Initialise m_pDBManager to nullptr in the !HAVE_FEATURE_DBCONNECTIVITY case
Change-Id: Id18bafaaf8f5315a0590687d98ea97952bdf883b
Diffstat (limited to 'sw/source/core/doc/docnew.cxx')
-rw-r--r--sw/source/core/doc/docnew.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 4e0cfb24c2f2..c75b2fd76f30 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -345,6 +345,8 @@ SwDoc::SwDoc()
// Create DBManager
m_pOwnDBManager.reset(new SwDBManager(this));
m_pDBManager = m_pOwnDBManager.get();
+#else
+ m_pDBManager = nullptr;
#endif
// create TOXTypes