diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-26 13:51:55 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-26 13:51:55 +0100 |
commit | 22d875b2630369cf85a82985d72f3120cbfa3453 (patch) | |
tree | 3d24e5c4c258592a9d67cfb184f58c492ab8bfdd /comphelper | |
parent | fcb8fd3ba59210dd3f51f8ee164a8549e751032d (diff) |
WaE: suggest parentheses around '&&' within '||'
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/embeddedobjectcontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 04c29d8a18f0..171c5af5b05c 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1031,7 +1031,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e #if OSL_DEBUG_LEVEL > 1 uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY ); uno::Reference < embed::XLinkageSupport > xLink( xPersist, uno::UNO_QUERY ); - sal_Bool bIsNotEmbedded = !xPersist.is() || xLink.is() && xLink->isLink(); + sal_Bool bIsNotEmbedded = !xPersist.is() || ( xLink.is() && xLink->isLink() ); // if the object has a persistance and the object is not a link than it must have persistence entry in the storage OSL_ENSURE( bIsNotEmbedded || xAccess->hasByName(aName), "Removing element not present in storage!" ); |