summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-18 17:11:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-18 17:19:18 +0100
commit8c0d5d494f102d9e3f7938fa3b1eb5a5662185d3 (patch)
tree27adabeb8569c52d405a2d6973d857cdef82a33d /embedserv
parentd710266dbf9e6062c29005a5a76269ed36a66922 (diff)
-Werror,-Wlogical-op-parentheses
Change-Id: I8e22b6399bbdb07c376299d5a23c8061af18578d
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/embed/docholder.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index 4850a7575a60..e3739867126a 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -1346,8 +1346,9 @@ DocumentHolder::queryClosing(
util::CloseVetoException
)
{
- if ( !m_bLink
- && ( m_xDocument.is() && m_xDocument == aSource.Source || m_xFrame.is() && m_xFrame == aSource.Source ) )
+ if (!m_bLink
+ && ((m_xDocument.is() && m_xDocument == aSource.Source)
+ || (m_xFrame.is() && m_xFrame == aSource.Source)))
throw util::CloseVetoException();
}