diff options
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 2 |
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 |