summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/model_helper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx
index 28972e34aeda..72fb684228e9 100644
--- a/forms/source/xforms/model_helper.hxx
+++ b/forms/source/xforms/model_helper.hxx
@@ -120,12 +120,12 @@ public:
{
const com::sun::star::beans::PropertyValue* pValues = t.getConstArray();
OUString sInstance( "Instance" );
- sal_Bool bFound = sal_False;
+ bool bFound = false;
for( sal_Int32 i = 0; ( ! bFound ) && ( i < t.getLength() ); i++ )
{
bFound |= ( pValues[i].Name == sInstance );
}
- return bFound ? true : false;
+ return bFound;
}
};