diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index 9ff840521a3e..e6a775ed90ff 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -203,7 +203,7 @@ ExtensionDescription::ExtensionDescription( Reference xDocBuilder( css::xml::dom::DocumentBuilder::create(xContext) ); - if (xDocBuilder->isNamespaceAware() == sal_False) + if (!xDocBuilder->isNamespaceAware()) { throw css::uno::Exception( "Service com.sun.star.xml.dom.DocumentBuilder is not namespace aware.", 0);