summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
index 9a5f2aad3a8..96b6b5bbae1 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/cdr_op_cs.cpp
@@ -49,25 +49,25 @@ be_visitor_valuebox_cdr_op_cs::visit_valuebox (be_valuebox *node)
<< "operator<< (" << be_idt << be_idt_nl
<< "TAO_OutputCDR &strm," << be_nl
<< "const " << node->full_name ()
- << " *_tao_valuebox" << be_uidt_nl
- << ")" << be_uidt_nl
+ << " *_tao_valuebox)" << be_uidt
+ << be_uidt_nl
<< "{" << be_idt_nl;
*os << "return" << be_idt_nl
<< "::CORBA::ValueBase::_tao_marshal (" << be_idt << be_idt_nl
<< "strm," << be_nl
<< "_tao_valuebox," << be_nl
<< "reinterpret_cast<ptrdiff_t> (&"
- << node->full_name () << "::_downcast)"
- << be_uidt_nl
- << ");" << be_uidt << be_uidt << be_uidt_nl
+ << node->full_name () << "::_downcast));"
+ << be_uidt
+ << be_uidt << be_uidt << be_uidt_nl
<< "}" << be_nl_2;
*os << "::CORBA::Boolean" << be_nl
<< "operator>> (" << be_idt << be_idt_nl
<< "TAO_InputCDR &strm," << be_nl
<< node->full_name ()
- << " *&_tao_valuebox" << be_uidt_nl
- << ")" << be_uidt_nl
+ << " *&_tao_valuebox)" << be_uidt
+ << be_uidt_nl
<< "{" << be_idt_nl;
*os << "return " << node->full_name ()
<< "::_tao_unmarshal (strm, _tao_valuebox);"