summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx
index 9217913221e4..cb214c507b6c 100644
--- a/include/vbahelper/vbacollectionimpl.hxx
+++ b/include/vbahelper/vbacollectionimpl.hxx
@@ -292,7 +292,7 @@ public:
{
sal_Int32 nIndex = 0;
- if ( ( Index1 >>= nIndex ) != sal_True )
+ if ( !( Index1 >>= nIndex ) )
{
OUString message;
message = OUString( "Couldn't convert index to Int32");