summaryrefslogtreecommitdiff
path: root/TAO/tao/WrongTransactionA.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-02-18 09:07:14 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-02-18 09:07:14 +0000
commit6505e0e66092f5c22ab656946a800138897ddf4c (patch)
tree91ba7fc4584511f31379702bdcf543da966f7f78 /TAO/tao/WrongTransactionA.cpp
parent088f6e83bd2ffc10f050df15282f9795ddbb02f6 (diff)
downloadATCD-6505e0e66092f5c22ab656946a800138897ddf4c.tar.gz
ChangeLogTag: Fri Feb 18 17:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/WrongTransactionA.cpp')
-rw-r--r--TAO/tao/WrongTransactionA.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/WrongTransactionA.cpp b/TAO/tao/WrongTransactionA.cpp
index 3e8018321cb..5b6befdf429 100644
--- a/TAO/tao/WrongTransactionA.cpp
+++ b/TAO/tao/WrongTransactionA.cpp
@@ -42,9 +42,9 @@ TAO::Any_Dual_Impl_T<CORBA::WrongTransaction>::demarshal_value (
{
CORBA::String_var id;
- if ((cdr >> id.out ()) == 0)
+ if (!(cdr >> id.out ()))
{
- return 0;
+ return false;
}
ACE_TRY_NEW_ENV
@@ -54,11 +54,11 @@ TAO::Any_Dual_Impl_T<CORBA::WrongTransaction>::demarshal_value (
}
ACE_CATCHANY
{
- return 0;
+ return false;
}
ACE_ENDTRY;
- return 1;
+ return true;
}
// Copying insertion.