diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 4 | ||||
-rw-r--r-- | unoxml/source/rdf/CURI.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index a922dc874397..7093ee76552d 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -112,14 +112,14 @@ void SAL_CALL CLiteral::initialize(const css::uno::Sequence< css::uno::Any > & a if (len > 1) { OUString arg1; css::uno::Reference< css::rdf::XURI > xURI; - if ((aArguments[1] >>= arg1)) { + if (aArguments[1] >>= arg1) { if (!arg1.isEmpty()) { m_Language = arg1; } else { throw css::lang::IllegalArgumentException( "CLiteral::initialize: argument is not valid language", *this, 1); } - } else if ((aArguments[1] >>= xURI)) { + } else if (aArguments[1] >>= xURI) { if (xURI.is()) { m_xDatatype = xURI; } else { diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index 0c44afd07f17..35471873ff66 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -718,7 +718,7 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< css::uno::Any > & aArgu sal_Int16 arg(0); OUString arg0; OUString arg1; - if ((aArguments[0] >>= arg)) { + if (aArguments[0] >>= arg) { // integer argument: constant from rdf::URIs if (len != 1) { throw css::lang::IllegalArgumentException( |