Kaydet (Commit) a1742456 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Michael Meeks

Initialise mpDBManager to nullptr in the !HAVE_FEATURE_DBCONNECTIVITY case

Change-Id: Id18bafaaf8f5315a0590687d98ea97952bdf883b
Reviewed-on: https://gerrit.libreoffice.org/62624Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst e2e7cf25
...@@ -347,6 +347,8 @@ SwDoc::SwDoc() ...@@ -347,6 +347,8 @@ SwDoc::SwDoc()
#if HAVE_FEATURE_DBCONNECTIVITY #if HAVE_FEATURE_DBCONNECTIVITY
// Create DBManager // Create DBManager
mpDBManager = new SwDBManager(this); mpDBManager = new SwDBManager(this);
#else
mpDBManager = nullptr;
#endif #endif
// create TOXTypes // create TOXTypes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment