diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 09:23:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 10:48:39 +0100 |
commit | e6e8069b6c7ec2e69315a29cab55f9c950a26cfc (patch) | |
tree | ca2e87abd9f864edacdaff42c8a8a23c3f6b9ede | |
parent | dd90d9b6d7149c68f931805beaa7dbeee8074d3f (diff) |
coverity#1222244 Uninitialized scalar field
Change-Id: Ia12b3fff503c47945d8237c09e679882f1a0ce5a
-rw-r--r-- | sw/source/core/doc/DocumentDrawModelManager.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentDrawModelManager.cxx b/sw/source/core/doc/DocumentDrawModelManager.cxx index 09fdbd7ccd85..e87ae39e9b23 100644 --- a/sw/source/core/doc/DocumentDrawModelManager.cxx +++ b/sw/source/core/doc/DocumentDrawModelManager.cxx @@ -45,8 +45,17 @@ class XSpellChecker1; namespace sw { -DocumentDrawModelManager::DocumentDrawModelManager( SwDoc& i_rSwdoc ) : m_rSwdoc(i_rSwdoc), mpDrawModel(0) {} - +DocumentDrawModelManager::DocumentDrawModelManager(SwDoc& i_rSwdoc) + : m_rSwdoc(i_rSwdoc) + , mpDrawModel(0) + , mnHeaven(0) + , mnHell(0) + , mnControls(0) + , mnInvisibleHeaven(0) + , mnInvisibleHell(0) + , mnInvisibleControls(0) +{ +} // Is also called by the Sw3 Reader, if there was an error when reading the // drawing layer. If it is called by the Sw3 Reader the layer is rebuilt |