-Werror=parentheses

Change-Id: I6f4214a235dbeaade8e58597f784a0e435616682
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105166
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 7886d15..2f1a1de 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -814,7 +814,7 @@ void SAL_CALL SvXMLImport::startFastElement (sal_Int32 Element,
            tmp = pHandler->CreateChildContext(nPrefix, aLocalName, maAttrList.get() ).get();
        }
        xContext = dynamic_cast<SvXMLImportContext*>(tmp.get());
        assert(tmp && xContext || (!tmp && !xContext));
        assert((tmp && xContext) || (!tmp && !xContext));
    }
    else
        xContext.set( CreateFastContext( Element, Attribs ) );
@@ -886,7 +886,7 @@ void SAL_CALL SvXMLImport::startUnknownElement (const OUString & rNamespace, con
            tmp = pHandler->CreateChildContext(nPrefix, aLocalName, maAttrList.get() ).get();
        }
        xContext = dynamic_cast<SvXMLImportContext*>(tmp.get());
        assert(tmp && xContext || (!tmp && !xContext));
        assert((tmp && xContext) || (!tmp && !xContext));
    }
    else
        xContext.set( CreateFastContext( -1, Attribs ) );