summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-16 12:05:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-16 12:05:03 +0100
commit144b5e68106415d2e9a4a6a51e259d329a695d5f (patch)
treeacb96a3fc1a66d9a8fdc95c9ff02d9171686c575
parentd44240ec532d2537575eadd043407b750761c373 (diff)
tdf#90029: FM_PROP_DATE/TIME confusion
Change-Id: If711a3d4b431e9919bbf6edf7756d82414f380a7
-rw-r--r--svx/source/fmcomp/gridcell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 6ddf3d7a1119..7e194f6bc5ca 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -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() );