diff options
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 5 |
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(); } |