Kaydet (Commit) 7ebc5955 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708129 Uninitialized scalar field

Change-Id: I88e166a8fd055ebae5a5d2e839c7fddba4ae5ec3
üst b501d837
......@@ -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 )
......
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