diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 19:29:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 10:37:11 +0100 |
commit | 490ae91796c9292e2f42859ef63a3fcc93bae916 (patch) | |
tree | baca5c49375dfa6e2fc3308dec3888e6481c8f53 /ucb | |
parent | 0156dd3c67aee234f77fac9747355dd72cb36789 (diff) |
coverity#708563 Uninitialized scalar field
Change-Id: Iacca1f92f9a8a6bd3b016775c5e59209995bb741
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 878c91f7e44f..906278e8ff11 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -107,27 +107,20 @@ shell::UnqPathData& shell::UnqPathData::operator=( UnqPathData& a ) shell::UnqPathData::~UnqPathData() { - if( properties ) - delete properties; - if( notifier ) - delete notifier; + delete properties; + delete notifier; } - - - - - - - - shell::MyProperty::MyProperty( const OUString& __PropertyName ) : PropertyName( __PropertyName ) + , Handle(-1) + , isNative(false) + , State(beans::PropertyState_AMBIGUOUS_VALUE) + , Attributes(0) { // empty } - shell::MyProperty::MyProperty( const sal_Bool& __isNative, const OUString& __PropertyName, const sal_Int32& __Handle, |