Kaydet (Commit) a7d6769a authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS dba05 (1.8.50); FILE MERGED

2003/05/07 07:59:13 oj 1.8.50.1: #i13806# change the property boundfield to be bound
üst cc31c2cc
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: CheckBox.cxx,v $ * $RCSfile: CheckBox.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: fs $ $Date: 2002-12-02 09:56:27 $ * last change: $Author: vg $ $Date: 2003-05-19 13:07:31 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -205,7 +205,7 @@ void OCheckBoxModel::_propertyChanged(const PropertyChangeEvent& _rEvent) throw( ...@@ -205,7 +205,7 @@ void OCheckBoxModel::_propertyChanged(const PropertyChangeEvent& _rEvent) throw(
{ {
// as we aren't commitable we have to take care of the field we are bound to ourself // as we aren't commitable we have to take care of the field we are bound to ourself
osl::MutexGuard aGuard(m_aMutex); osl::MutexGuard aGuard(m_aMutex);
if (m_xField.is() && !m_bInReset) if (getField().is() && !m_bInReset)
{ {
sal_uInt16 nState; sal_uInt16 nState;
...@@ -324,7 +324,7 @@ void OCheckBoxModel::fillProperties( ...@@ -324,7 +324,7 @@ void OCheckBoxModel::fillProperties(
DECL_PROP1(TAG, rtl::OUString, BOUND); DECL_PROP1(TAG, rtl::OUString, BOUND);
DECL_PROP1(TABINDEX, sal_Int16, BOUND); DECL_PROP1(TABINDEX, sal_Int16, BOUND);
DECL_PROP1(CONTROLSOURCE, rtl::OUString, BOUND); DECL_PROP1(CONTROLSOURCE, rtl::OUString, BOUND);
DECL_IFACE_PROP2(BOUNDFIELD, XPropertySet, READONLY, TRANSIENT); DECL_IFACE_PROP3(BOUNDFIELD, XPropertySet, BOUND,READONLY, TRANSIENT);
DECL_IFACE_PROP2(CONTROLLABEL, XPropertySet, BOUND, MAYBEVOID); DECL_IFACE_PROP2(CONTROLLABEL, XPropertySet, BOUND, MAYBEVOID);
DECL_PROP2(CONTROLSOURCEPROPERTY, rtl::OUString, READONLY, TRANSIENT); DECL_PROP2(CONTROLSOURCEPROPERTY, rtl::OUString, READONLY, TRANSIENT);
FRM_END_PROP_HELPER(); FRM_END_PROP_HELPER();
...@@ -453,8 +453,8 @@ sal_Bool OCheckBoxModel::_commit() ...@@ -453,8 +453,8 @@ sal_Bool OCheckBoxModel::_commit()
// we're in reset, so this commit means "put the value into the field you're bound to" // we're in reset, so this commit means "put the value into the field you're bound to"
// 72769 - 08.02.00 - FS // 72769 - 08.02.00 - FS
DBG_ASSERT(m_xField.is(), "OCheckBoxModel::_commit : committing while resetting, but not bound ?"); DBG_ASSERT(getField().is(), "OCheckBoxModel::_commit : committing while resetting, but not bound ?");
if (m_xField.is()) if (getField().is())
{ {
try try
{ {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: Currency.cxx,v $ * $RCSfile: Currency.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: fs $ $Date: 2002-12-02 09:56:28 $ * last change: $Author: vg $ $Date: 2003-05-19 13:07:57 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -249,13 +249,13 @@ void OCurrencyModel::fillProperties( ...@@ -249,13 +249,13 @@ void OCurrencyModel::fillProperties(
// Value auf transient setzen // Value auf transient setzen
// ModifyPropertyAttributes(_rAggregateProps, PROPERTY_VALUE, PropertyAttribute::TRANSIENT, 0); // ModifyPropertyAttributes(_rAggregateProps, PROPERTY_VALUE, PropertyAttribute::TRANSIENT, 0);
DECL_PROP2(CLASSID, sal_Int16, READONLY, TRANSIENT); DECL_PROP2(CLASSID, sal_Int16, READONLY, TRANSIENT);
DECL_PROP3(DEFAULT_VALUE, double, BOUND, MAYBEDEFAULT, MAYBEVOID); DECL_PROP3(DEFAULT_VALUE, double, BOUND, MAYBEDEFAULT, MAYBEVOID);
DECL_PROP1(NAME, ::rtl::OUString, BOUND); DECL_PROP1(NAME, ::rtl::OUString, BOUND);
DECL_PROP1(TAG, ::rtl::OUString, BOUND); DECL_PROP1(TAG, ::rtl::OUString, BOUND);
DECL_PROP1(TABINDEX, sal_Int16, BOUND); DECL_PROP1(TABINDEX, sal_Int16, BOUND);
DECL_PROP1(CONTROLSOURCE, ::rtl::OUString, BOUND); DECL_PROP1(CONTROLSOURCE, ::rtl::OUString, BOUND);
DECL_IFACE_PROP2(BOUNDFIELD, XPropertySet, READONLY, TRANSIENT); DECL_IFACE_PROP3(BOUNDFIELD, XPropertySet, BOUND,READONLY, TRANSIENT);
DECL_IFACE_PROP2(CONTROLLABEL, XPropertySet, BOUND, MAYBEVOID); DECL_IFACE_PROP2(CONTROLLABEL, XPropertySet, BOUND, MAYBEVOID);
DECL_PROP2(CONTROLSOURCEPROPERTY, rtl::OUString, READONLY, TRANSIENT); DECL_PROP2(CONTROLSOURCEPROPERTY, rtl::OUString, READONLY, TRANSIENT);
FRM_END_PROP_HELPER(); FRM_END_PROP_HELPER();
......
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