diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-01 00:09:12 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-01 00:09:12 +0200 |
commit | b9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff (patch) | |
tree | a35a1b14c2a272dfb571727bc3fa10835f747e02 /dom/xslt | |
parent | 5d409fdca92e085dad2f9c80b42f33afe4f10800 (diff) | |
download | UXP-b9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff.tar UXP-b9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff.tar.gz UXP-b9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff.tar.lz UXP-b9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff.tar.xz UXP-b9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff.zip |
Remove some HPUX leftovers.
Resolves #185
Diffstat (limited to 'dom/xslt')
-rw-r--r-- | dom/xslt/xpath/txUnaryExpr.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dom/xslt/xpath/txUnaryExpr.cpp b/dom/xslt/xpath/txUnaryExpr.cpp index 95682b5b2..ae20fda46 100644 --- a/dom/xslt/xpath/txUnaryExpr.cpp +++ b/dom/xslt/xpath/txUnaryExpr.cpp @@ -23,16 +23,7 @@ UnaryExpr::evaluate(txIEvalContext* aContext, txAExprResult** aResult) NS_ENSURE_SUCCESS(rv, rv); double value = exprRes->numberValue(); -#ifdef HPUX - /* - * Negation of a zero doesn't produce a negative - * zero on HPUX. Perform the operation by multiplying with - * -1. - */ - return aContext->recycler()->getNumberResult(-1 * value, aResult); -#else return aContext->recycler()->getNumberResult(-value, aResult); -#endif } TX_IMPL_EXPR_STUBS_1(UnaryExpr, NODESET_RESULT, expr) |