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>
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 34b5f51..c8bad80 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -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()
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index e13ef79..4a2fc4b 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -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?