coverity#738656 Uninitialized scalar field
Change-Id: I49e3f47e318ae342738dd1de90673e2aee2bb62b
This commit is contained in:
parent
ea7d4d24ae
commit
09f93567e9
@ -122,11 +122,12 @@ Sequence<Type> OTimeModel::_getTypes()
|
||||
//------------------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
OTimeModel::OTimeModel(const Reference<XComponentContext>& _rxFactory)
|
||||
:OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_TIMEFIELD, FRM_SUN_CONTROL_TIMEFIELD, sal_True, sal_True )
|
||||
// use the old control name for compytibility reasons
|
||||
,OLimitedFormats( _rxFactory, FormComponentType::TIMEFIELD)
|
||||
: OEditBaseModel(_rxFactory, VCL_CONTROLMODEL_TIMEFIELD,
|
||||
FRM_SUN_CONTROL_TIMEFIELD, sal_True, sal_True)
|
||||
// use the old control name for compatibility reasons
|
||||
, OLimitedFormats(_rxFactory, FormComponentType::TIMEFIELD)
|
||||
, m_bDateTimeField(false)
|
||||
{
|
||||
|
||||
m_nClassId = FormComponentType::TIMEFIELD;
|
||||
initValueProperty( PROPERTY_TIME, PROPERTY_ID_TIME );
|
||||
|
||||
@ -134,11 +135,11 @@ OTimeModel::OTimeModel(const Reference<XComponentContext>& _rxFactory)
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
OTimeModel::OTimeModel( const OTimeModel* _pOriginal, const Reference<XComponentContext>& _rxFactory )
|
||||
:OEditBaseModel( _pOriginal, _rxFactory )
|
||||
,OLimitedFormats( _rxFactory, FormComponentType::TIMEFIELD )
|
||||
OTimeModel::OTimeModel(const OTimeModel* _pOriginal, const Reference<XComponentContext>& _rxFactory)
|
||||
: OEditBaseModel(_pOriginal, _rxFactory)
|
||||
, OLimitedFormats(_rxFactory, FormComponentType::TIMEFIELD)
|
||||
, m_bDateTimeField(false)
|
||||
{
|
||||
|
||||
setAggregateSet( m_xAggregateFastSet, getOriginalHandle( PROPERTY_ID_TIMEFORMAT ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user