diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-29 19:28:22 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-08-30 15:16:07 +0200 |
commit | 0d2dbcbebf0004e690feb91c38dd478a32dc6255 (patch) | |
tree | 8d1b9d90865fb3013a4c873365dd06f4749d0d1b | |
parent | ac712c5c7b85893ee94f8f87e53d02fc3bfc9f9d (diff) |
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>
-rw-r--r-- | forms/source/component/FormComponent.cxx | 10 | ||||
-rw-r--r-- | forms/source/inc/FormComponent.hxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 34b5f51c538d..c8bad80d0ae6 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 e13ef797f9fa..4a2fc4bf95ca 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? |