summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/collection.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/collection.hxx b/forms/source/xforms/collection.hxx
index 4e2c91f73f41..11ae4de55108 100644
--- a/forms/source/xforms/collection.hxx
+++ b/forms/source/xforms/collection.hxx
@@ -206,7 +206,7 @@ public:
throw( css::uno::RuntimeException, std::exception ) override
{
T t;
- return ( aElement >>= t ) ? hasItem( t ) : sal_False;
+ return ( aElement >>= t ) && hasItem( t );
}
virtual void SAL_CALL insert( const css::uno::Any& aElement )