diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_ccm_pre_proc.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_ccm_pre_proc.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_ccm_pre_proc.cpp b/TAO/TAO_IDL/be/be_visitor_ccm_pre_proc.cpp index 69a2b15c774..7149a1fe913 100644 --- a/TAO/TAO_IDL/be/be_visitor_ccm_pre_proc.cpp +++ b/TAO/TAO_IDL/be/be_visitor_ccm_pre_proc.cpp @@ -162,7 +162,12 @@ be_visitor_ccm_pre_proc::visit_provides (be_provides *node) "store_port_interface failed\n"), -1); } - + + if (node->provides_type ()->is_local ()) + { + return 0; + } + // If this facet comes from a porttype, the instantiated // port/mirrorport name is prefixed to the facet name. ACE_CString prefix ("provide_"); @@ -209,7 +214,12 @@ be_visitor_ccm_pre_proc::visit_uses (be_uses *node) "store_port_interface failed\n"), -1); } - + + if (node->uses_type ()->is_local ()) + { + return 0; + } + if (node->is_multiple ()) { if (this->gen_connect_multiple (node) == -1) |