summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astexpression.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 7b5a0ca390c4..516e3e242c8d 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -1026,7 +1026,9 @@ AstExprValue* AstExpression::eval_bit_op(EvalKind ek)
if (m_subExpr2->getExprValue() == NULL)
return NULL;
+SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< AstExprValue > retval(new AstExprValue());
+SAL_WNODEPRECATED_DECLARATIONS_POP
retval->et = ET_long;
switch (m_combOperator)
@@ -1069,7 +1071,9 @@ AstExprValue* AstExpression::eval_un_op(EvalKind ek)
if (m_subExpr1->getExprValue() == NULL)
return NULL;
+SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< AstExprValue > retval(new AstExprValue());
+SAL_WNODEPRECATED_DECLARATIONS_POP
retval->et = ET_double;
switch (m_combOperator)