summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 23:17:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-22 08:22:34 +0100
commit3ca9c83610a3b3bf646d7ccb84234dbcf8df1f1d (patch)
tree1c3a55cc76cb0150717e75872b6737f2c8ec93e3 /include
parenta586ee94bbcc5f68d510f609000c8e741532cc7b (diff)
bool improvements
Change-Id: I1a88cdb87767d029868b855eac09c016e1bca82e
Diffstat (limited to 'include')
-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");