Kaydet (Commit) 144b5e68 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#90029: FM_PROP_DATE/TIME confusion

Change-Id: If711a3d4b431e9919bbf6edf7756d82414f380a7
üst d44240ec
......@@ -2387,7 +2387,7 @@ void DbTimeField::updateFromModel( Reference< XPropertySet > _rxModel )
OSL_ENSURE( _rxModel.is() && m_pWindow, "DbTimeField::updateFromModel: invalid call!" );
util::Time aTime;
if ( _rxModel->getPropertyValue( FM_PROP_DATE ) >>= aTime )
if ( _rxModel->getPropertyValue( FM_PROP_TIME ) >>= aTime )
static_cast< TimeField* >( m_pWindow )->SetTime( ::tools::Time( aTime ) );
else
static_cast< TimeField* >( m_pWindow )->SetText( OUString() );
......
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