summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
index 8dbeb443d03..fa94dc5e14e 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
@@ -135,8 +135,8 @@ int be_visitor_exception_cs::visit_exception (be_exception *node)
os->incr_indent ();
*os << "if (!ACE_OS::strcmp (\"" << node->repoID ()
<< "\", exc->_id ())) // same type" << be_nl;
- *os << " return ACE_dynamic_cast (::" << node->name () << "_ptr, exc);"
- << be_nl;
+ *os << " return ACE_dynamic_cast (" << node->local_name ()
+ << "_ptr, exc);" << be_nl;
*os << "else" << be_nl;
*os << " return 0;\n";
os->decr_indent ();