summaryrefslogtreecommitdiff
path: root/forms/source/component/FormComponent.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:17:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:41 +0200
commitbfb185c408f6630d17bdcf9243666cc1b0af5bd7 (patch)
treee560fa416aa23d5a043e7126e41fb63811a402a5 /forms/source/component/FormComponent.cxx
parent07ea0e64f26ae4ba0a0474352df0bffb4409bd16 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I74cf43df85a878ee9af69901b2535f63461cb61e
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r--forms/source/component/FormComponent.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index e042c202c382..e33cfb11df08 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -289,7 +289,7 @@ Reference<XWindowPeer> SAL_CALL OControl::getPeer() throw ( RuntimeException, st
sal_Bool SAL_CALL OControl::setModel(const Reference<XControlModel>& Model) throw ( RuntimeException, std::exception)
{
if ( !m_xControl.is() )
- return sal_False;
+ return false;
bool bSuccess = m_xControl->setModel( Model );
impl_resetStateGuard_nothrow();
@@ -1111,7 +1111,7 @@ void OControlModel::firePropertyChanges( const Sequence< sal_Int32 >& _rHandles,
_rNewValues.getConstArray(),
_rOldValues.getConstArray(),
_rHandles.getLength(),
- sal_False
+ false
);
}
@@ -1123,7 +1123,7 @@ void OControlModel::firePropertyChanges( const std::vector< sal_Int32 >& _rHandl
_rNewValues.data(),
_rOldValues.data(),
_rHandles.size(),
- sal_False
+ false
);
}
@@ -1881,13 +1881,13 @@ sal_Bool SAL_CALL OBoundControlModel::commit() throw(RuntimeException, std::exce
// but for those derivees which did not use this feature, we need an
// explicit transfer
transferControlValueToExternal( aLock );
- return sal_True;
+ return true;
}
OSL_ENSURE( !hasExternalValueBinding(), "OBoundControlModel::commit: control flow broken!" );
// we reach this only if we're not working with an external binding
if ( !hasField() )
- return sal_True;
+ return true;
::comphelper::OInterfaceIteratorHelper2 aIter( m_aUpdateListeners );
EventObject aEvent;
aEvent.Source = static_cast< XWeak* >( this );