[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Mon Mar 16 04:06:26 PDT 2015


 svx/source/fmcomp/gridcell.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 144b5e68106415d2e9a4a6a51e259d329a695d5f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Mar 16 12:05:03 2015 +0100

    tdf#90029: FM_PROP_DATE/TIME confusion
    
    Change-Id: If711a3d4b431e9919bbf6edf7756d82414f380a7

diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 6ddf3d7..7e194f6 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() );


More information about the Libreoffice-commits mailing list