forked from amazingfate/loongoffice
Fix typo in code
Change-Id: Ia2820c68109c84b52173beafe2cf301104d80831 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101652 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
ac712c5c7b
commit
0d2dbcbebf
@ -1145,7 +1145,7 @@ OBoundControlModel::OBoundControlModel(
|
||||
,m_bSupportsExternalBinding( _bSupportExternalBinding )
|
||||
,m_bSupportsValidation( _bSupportsValidation )
|
||||
,m_bForwardValueChanges(true)
|
||||
,m_bTransferingValue( false )
|
||||
,m_bTransferringValue( false )
|
||||
,m_bIsCurrentValueValid( true )
|
||||
,m_bBindingControlsRO( false )
|
||||
,m_bBindingControlsEnable( false )
|
||||
@ -1178,7 +1178,7 @@ OBoundControlModel::OBoundControlModel(
|
||||
,m_bSupportsExternalBinding( _pOriginal->m_bSupportsExternalBinding )
|
||||
,m_bSupportsValidation( _pOriginal->m_bSupportsValidation )
|
||||
,m_bForwardValueChanges( true )
|
||||
,m_bTransferingValue( false )
|
||||
,m_bTransferringValue( false )
|
||||
,m_bIsCurrentValueValid( _pOriginal->m_bIsCurrentValueValid )
|
||||
,m_bBindingControlsRO( false )
|
||||
,m_bBindingControlsEnable( false )
|
||||
@ -2509,7 +2509,7 @@ void SAL_CALL OBoundControlModel::modified( const EventObject& _rEvent )
|
||||
{
|
||||
ControlModelLock aLock( *this );
|
||||
OSL_PRECOND( hasExternalValueBinding(), "OBoundControlModel::modified: Where did this come from?" );
|
||||
if ( !m_bTransferingValue && ( m_xExternalBinding == _rEvent.Source ) && m_xExternalBinding.is() )
|
||||
if ( !m_bTransferringValue && ( m_xExternalBinding == _rEvent.Source ) && m_xExternalBinding.is() )
|
||||
{
|
||||
transferExternalValueToControl( aLock );
|
||||
}
|
||||
@ -2557,7 +2557,7 @@ void OBoundControlModel::transferControlValueToExternal( ControlModelLock& _rIns
|
||||
return;
|
||||
|
||||
Any aExternalValue( translateControlValueToExternalValue() );
|
||||
m_bTransferingValue = true;
|
||||
m_bTransferringValue = true;
|
||||
_rInstanceLock.release();
|
||||
// UNSAFE >
|
||||
try
|
||||
@ -2572,7 +2572,7 @@ void OBoundControlModel::transferControlValueToExternal( ControlModelLock& _rIns
|
||||
|
||||
// < UNSAFE
|
||||
_rInstanceLock.acquire();
|
||||
m_bTransferingValue = false;
|
||||
m_bTransferringValue = false;
|
||||
}
|
||||
|
||||
Sequence< Type > OBoundControlModel::getSupportedBindingTypes()
|
||||
|
||||
@ -597,7 +597,7 @@ private:
|
||||
const bool m_bSupportsExternalBinding : 1; // do we support XBindableValue?
|
||||
const bool m_bSupportsValidation : 1; // do we support XValidatable?
|
||||
bool m_bForwardValueChanges : 1; // do we currently handle changes in the bound database field?
|
||||
bool m_bTransferingValue : 1; // true if we're currently transferring our value to an external binding
|
||||
bool m_bTransferringValue : 1; // true if we're currently transferring our value to an external binding
|
||||
bool m_bIsCurrentValueValid : 1; // flag specifying whether our current value is valid, relative to our external validator
|
||||
bool m_bBindingControlsRO : 1; // is our ReadOnly property currently controlled by our external binding?
|
||||
bool m_bBindingControlsEnable : 1; // is our Enabled property currently controlled by our external binding?
|
||||
|
||||
Reference in New Issue
Block a user