diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 14:27:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 21:12:58 +0100 |
commit | 828fcdd2705fcdaab7f99e1286a073dde72585bd (patch) | |
tree | adf61a91ce8423be01bb3f7d2ac4f6985b33608e /svtools | |
parent | 2ab8d88ca91654c637e3603816b3dd6ee84aaa3d (diff) |
coverity#708306 Uninitialized pointer field
Change-Id: Ia249608d5166273bb6be7b52185d48dffbc918d9
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index b3e0883a6828..6c33b4f32760 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -481,9 +481,10 @@ void AssignmentPersistentData::Commit() ,bWorkingPersistent( true ) ,pConfigData( new AssignmentPersistentData ) { + memset(pFieldLabels, 0, sizeof(pFieldLabels)); + memset(pFields, 0, sizeof(pFields)); } - AddressBookSourceDialogData( const Reference< XDataSource >& _rxTransientDS, const OUString& _rDataSourceName, const OUString& _rTableName, const Sequence< AliasProgrammaticPair >& _rFields ) :m_xTransientDataSource( _rxTransientDS ) |