[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-3' - svx/source
Lionel Elie Mamane
lionel at mamane.lu
Tue Oct 27 05:56:43 UTC 2015
svx/source/fmcomp/gridcell.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 2e9e8066d1182e513394749615ae5254b4944e6b
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Fri Oct 16 15:07:48 2015 +0200
tdf#93618 teach DbCellControl about "Date"/"Time" as known value property
Change-Id: Icbb575b86ff39ce263271110aae6e49e5b4e7ac2
Reviewed-on: https://gerrit.libreoffice.org/19410
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 28a606c..f82e42f 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -573,6 +573,8 @@ DbCellControl::DbCellControl( DbGridColumn& _rColumn, bool /*_bText*/ )
implDoPropertyListening( FM_PROP_TEXT, false );
implDoPropertyListening( FM_PROP_EFFECTIVE_VALUE, false );
implDoPropertyListening( FM_PROP_SELECT_SEQ, false );
+ implDoPropertyListening( FM_PROP_DATE, false );
+ implDoPropertyListening( FM_PROP_TIME, false );
// be listener at the bound field as well
try
@@ -678,6 +680,8 @@ void DbCellControl::_propertyChanged(const PropertyChangeEvent& _rEvent) throw(R
|| _rEvent.PropertyName == FM_PROP_TEXT
|| _rEvent.PropertyName == FM_PROP_EFFECTIVE_VALUE
|| _rEvent.PropertyName == FM_PROP_SELECT_SEQ
+ || _rEvent.PropertyName == FM_PROP_DATE
+ || _rEvent.PropertyName == FM_PROP_TIME
)
{ // it was one of the known "value" properties
if ( !isValuePropertyLocked() )
More information about the Libreoffice-commits
mailing list