summaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-14 11:09:40 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 11:09:40 +0200
commitfceee9237c583f8d95396845a1c1606000df26fb (patch)
treef8cd45eb62de32b6071a1c7ad88fa43ce18ff7ba /forms
parentloplugin: defaultparams (diff)
downloadcore-fceee9237c583f8d95396845a1c1606000df26fb.tar.gz
core-fceee9237c583f8d95396845a1c1606000df26fb.zip
loplugin: defaultparams
Change-Id: I4080aece6fec2778a2a8646ddedd280337303591
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx2
-rw-r--r--forms/source/component/ListBox.cxx4
-rw-r--r--forms/source/xforms/binding.cxx10
-rw-r--r--forms/source/xforms/datatyperepository.cxx2
4 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 88ed5623e79e..47488b26cd4e 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -1939,7 +1939,7 @@ void SAL_CALL ODatabaseForm::reset() throw( RuntimeException, std::exception )
m_pThread->create();
}
EventObject aEvt;
- m_pThread->addEvent(&aEvt, false);
+ m_pThread->addEvent(&aEvt);
}
else
{
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 724b6c8f54be..752a6181a8b5 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -1391,7 +1391,7 @@ namespace frm
{
// the indexes where the current string appears in our string items
Sequence< sal_Int16 > aThisEntryIndexes;
- aThisEntryIndexes = findValue( getStringItemList(), *pSelectEntries++, false );
+ aThisEntryIndexes = findValue( getStringItemList(), *pSelectEntries++ );
// insert all the indexes of this entry into our set
::std::copy(
@@ -1416,7 +1416,7 @@ namespace frm
OUString sStringToSelect;
OSL_VERIFY( _rExternalValue >>= sStringToSelect );
- aSelectIndexes = findValue( getStringItemList(), sStringToSelect, false );
+ aSelectIndexes = findValue( getStringItemList(), sStringToSelect );
}
break;
}
diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx
index 5c86447281b2..e1454483e550 100644
--- a/forms/source/xforms/binding.cxx
+++ b/forms/source/xforms/binding.cxx
@@ -170,7 +170,7 @@ css::uno::Reference<css::xml::dom::XNodeList> Binding::getXNodeList()
{
// first make sure we are bound
if( ! maBindingExpression.hasValue() )
- bind( false );
+ bind();
return maBindingExpression.getXNodeList();
}
@@ -309,7 +309,7 @@ EvaluationContext Binding::getEvaluationContext() const
OSL_ENSURE( getModelImpl() != NULL, "need model impl" );
// bind (in case we were not bound before)
- bind( false );
+ bind();
return _getMIPEvaluationContexts();
}
@@ -779,11 +779,11 @@ MIP Binding::getLocalMIP() const
MIP aMIP;
if( maReadonly.hasValue() )
- aMIP.setReadonly( maReadonly.getBool( false ) );
+ aMIP.setReadonly( maReadonly.getBool() );
if( maRelevant.hasValue() )
aMIP.setRelevant( maRelevant.getBool( true ) );
if( maRequired.hasValue() )
- aMIP.setRequired( maRequired.getBool( false ) );
+ aMIP.setRequired( maRequired.getBool() );
if( maConstraint.hasValue() )
{
aMIP.setConstraint( maConstraint.getBool( true ) );
@@ -1252,7 +1252,7 @@ void Binding::handleEvent( const css::uno::Reference<css::xml::dom::events::XEve
}
// if we're a dynamic binding, we better re-bind, too!
- bind( false );
+ bind();
// our value was maybe modified
valueModified();
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx
index 55c45b67686e..8bb012318d13 100644
--- a/forms/source/xforms/datatyperepository.cxx
+++ b/forms/source/xforms/datatyperepository.cxx
@@ -157,7 +157,7 @@ namespace xforms
Reference< XDataType > SAL_CALL ODataTypeRepository::getDataType( const OUString& typeName ) throw (NoSuchElementException, RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
- return implLocate( typeName, false )->second.get();
+ return implLocate( typeName )->second.get();
}