summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 11:18:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 12:14:25 +0100
commit7ebc5955951d1ed16e5f74645c94444858f7500a (patch)
tree3b120c635a260ad019c65ebcbc4053f06ff33c5c
parentb501d837d2a66be9e2067bcdde7d4909f22b50c8 (diff)
coverity#708129 Uninitialized scalar field
Change-Id: I88e166a8fd055ebae5a5d2e839c7fddba4ae5ec3
-rw-r--r--sd/source/ui/app/optsitem.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index f1c0ece15283..a624ac8f1438 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -96,18 +96,15 @@ void SdOptionsItem::SetModified()
// - SdOptionsGeneric -
-
-
-SdOptionsGeneric::SdOptionsGeneric( sal_uInt16 nConfigId, const OUString& rSubTree ) :
- maSubTree ( rSubTree ),
- mpCfgItem ( NULL ),
- mnConfigId ( nConfigId ),
- mbInit ( rSubTree.isEmpty() )
+SdOptionsGeneric::SdOptionsGeneric(sal_uInt16 nConfigId, const OUString& rSubTree)
+ : maSubTree(rSubTree)
+ , mpCfgItem( NULL)
+ , mnConfigId(nConfigId)
+ , mbInit(rSubTree.isEmpty())
+ , mbEnableModify(false)
{
}
-
-
void SdOptionsGeneric::Init() const
{
if( !mbInit )