summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-20 08:11:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-24 08:46:57 +0100
commit3b55411a0ab7c065efc074ef2505ae5e42c909ff (patch)
tree22487e0bf74fa7b36a17dd20405afe04095ccd9a /extensions
parentd1f44ab2d827b3e3375be7128316c7bca7ae46e5 (diff)
-Werror,-Wlogical-op-parentheses
Change-Id: I2fa3e03d34a371cec694f58cf71f15df6f52c63a
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/activex/SOActiveX.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx
index c0505d9f0b91..09e3f26aa89a 100644
--- a/extensions/source/activex/SOActiveX.cxx
+++ b/extensions/source/activex/SOActiveX.cxx
@@ -276,7 +276,7 @@ HRESULT CSOActiveX::TerminateOffice()
if ( SUCCEEDED( hr ) )
{
if ( ( aFrames.vt == ( VT_ARRAY | VT_DISPATCH ) || aFrames.vt == ( VT_ARRAY | VT_VARIANT ) )
- && ( !aFrames.parray || aFrames.parray->cDims == 1 && aFrames.parray->rgsabound[0].cElements == 0 ) )
+ && ( !aFrames.parray || (aFrames.parray->cDims == 1 && aFrames.parray->rgsabound[0].cElements == 0) ) )
{
// there is no frames open
// TODO: check whether the frames are hidden if they are open?