summaryrefslogtreecommitdiffstats
path: root/dom/xslt
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-01 00:09:12 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-01 00:09:12 +0200
commitb9a8bca64d7a9ae1f950a953ac2985bf7dcc4eff (patch)
treea35a1b14c2a272dfb571727bc3fa10835f747e02 /dom/xslt
parent5d409fdca92e085dad2f9c80b42f33afe4f10800 (diff)
downloadUXP-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.cpp9
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)