summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-08-12 22:13:31 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-08-12 22:13:31 +0000
commit1ef7d2621a5dcb2666df5bc5ae072ad9b3eac16e (patch)
tree60f87aaf8fc8965ba87872856c3b7341b1914e34 /TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
parent3260fcee365ec15c83601e1a811d74f05087cbe7 (diff)
downloadATCD-1ef7d2621a5dcb2666df5bc5ae072ad9b3eac16e.tar.gz
ChangeLogTag: Fri Aug 12 22:13:15 UTC 2005 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
index a1f3a3d894c..b2dbc13542d 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
@@ -276,11 +276,11 @@ int be_visitor_exception_ctor::visit_predefined_type (be_predefined_type *node)
{
if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH)
{
- *os << "const " << bt->nested_type_name (this->ctx_->scope ());
+ *os << "const ::" << bt->nested_type_name (this->ctx_->scope ());
}
else
{
- *os << "const " << bt->name ();
+ *os << "const ::" << bt->name ();
}
*os << " &";
@@ -292,23 +292,23 @@ int be_visitor_exception_ctor::visit_predefined_type (be_predefined_type *node)
{
if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH)
{
- *os << "const " << bt->nested_type_name (this->ctx_->scope (),
- "_ptr ");
+ *os << "const ::" << bt->nested_type_name (this->ctx_->scope (),
+ "_ptr ");
}
else
{
- *os << "const " << bt->name () << "_ptr ";
+ *os << "const ::" << bt->name () << "_ptr ";
}
}
else
{
if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH)
{
- *os << bt->nested_type_name (this->ctx_->scope ());
+ *os << "::" << bt->nested_type_name (this->ctx_->scope ());
}
else
{
- *os << bt->name ();
+ *os << "::" << bt->name ();
}
}
@@ -353,7 +353,7 @@ int be_visitor_exception_ctor::visit_string (be_string *node)
}
else
{
- *os << "const CORBA::WChar *";
+ *os << "const ::CORBA::WChar *";
}
return 0;