[Libreoffice-commits] core.git: forms/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 30 13:16:50 UTC 2020
forms/source/component/FormComponent.cxx | 10 +++++-----
forms/source/inc/FormComponent.hxx | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 0d2dbcbebf0004e690feb91c38dd478a32dc6255
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 29 19:28:22 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 30 15:16:07 2020 +0200
Fix typo in code
Change-Id: Ia2820c68109c84b52173beafe2cf301104d80831
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101652
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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?
More information about the Libreoffice-commits
mailing list