diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 15:00:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 15:01:05 +0100 |
commit | 871426533f7afe31bc451fa6b407b83db8e52827 (patch) | |
tree | ed60cee61ebee91994eaffc9c9a3638836ed2ab4 /idlc | |
parent | 5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff) |
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astexpression.cxx | 4 |
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) |