diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /forms/source/xforms/mip.cxx | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'forms/source/xforms/mip.cxx')
-rw-r--r-- | forms/source/xforms/mip.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/forms/source/xforms/mip.cxx b/forms/source/xforms/mip.cxx index e8ccd35a282d..493881b9170b 100644 --- a/forms/source/xforms/mip.cxx +++ b/forms/source/xforms/mip.cxx @@ -77,23 +77,16 @@ void MIP::join( const MIP& rMip ) inherit( rMip ); } -bool MIP::hasReadonly() const { return mbHasReadonly; } bool MIP::isReadonly() const { return mbHasReadonly ? mbReadonly : mbHasCalculate; } void MIP::setReadonly( bool b ) { mbHasReadonly = true; mbReadonly = b; } void MIP::resetReadonly() { mbHasReadonly = false; mbReadonly = false; } -bool MIP::hasRequired() const { return mbHasRequired; } -bool MIP::isRequired() const { return mbRequired; } void MIP::setRequired( bool b ) { mbHasRequired = true; mbRequired = b; } void MIP::resetRequired() { mbHasRequired = false; mbRequired = false; } -bool MIP::hasRelevant() const { return mbHasRelevant; } -bool MIP::isRelevant() const { return mbRelevant; } void MIP::setRelevant( bool b ) { mbHasRelevant = true; mbRelevant = b; } void MIP::resetRelevant() { mbHasRelevant = false; mbRelevant = true; } -bool MIP::hasConstraint() const { return mbHasConstraint; } -bool MIP::isConstraint() const { return mbConstraint; } void MIP::setConstraint( bool b ) { mbHasConstraint = true; mbConstraint = b; msConstraintExplanation = OUString(); } void MIP::resetConstraint() { mbHasConstraint = false; mbConstraint = true; msConstraintExplanation = OUString(); } @@ -101,11 +94,9 @@ void MIP::setConstraintExplanation( const OUString& s ) { msConstraintExplanatio OUString MIP::getConstraintExplanation() const { return msConstraintExplanation; } -bool MIP::hasCalculate() const { return mbHasCalculate; } void MIP::setHasCalculate( bool b ) { mbHasCalculate = b; } void MIP::resetCalculate() { mbHasCalculate = false; } -bool MIP::hasTypeName() const { return mbHasTypeName; } OUString MIP::getTypeName() const { return msTypeName; } void MIP::setTypeName( const OUString& s ) { msTypeName = s; mbHasTypeName = true; } void MIP::resetTypeName() { msTypeName = OUString(); mbHasTypeName = false; } |