diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 13:23:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 13:47:04 +0100 |
commit | 2ae814b4152438571dfcedc42a4c1bcebae785c6 (patch) | |
tree | f9139a0755f4900dd637eab8e5906cd2e55ca91d /sd | |
parent | a2c1d602a2fada11ba61bf7c68b20609e13bd243 (diff) |
coverity#708134 Uninitialized scalar field
Change-Id: Id00f771bb7ba80c60aae5f94050319b26aa2c861
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/navigatr.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx index 858654eb71be..422f36f17264 100644 --- a/sd/source/ui/inc/navigatr.hxx +++ b/sd/source/ui/inc/navigatr.hxx @@ -60,7 +60,12 @@ class SdPageNameControllerItem; class NavDocInfo { public: - NavDocInfo() { mpDocShell = NULL; } + NavDocInfo() + : bName(false) + , bActive(false) + , mpDocShell(NULL) + { + } sal_Bool HasName() { return( (sal_Bool) bName ); } sal_Bool IsActive() { return( (sal_Bool) bActive ); } |