summaryrefslogtreecommitdiff
path: root/autodoc/source/display/idl
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/display/idl')
-rw-r--r--autodoc/source/display/idl/hfi_method.cxx121
-rw-r--r--autodoc/source/display/idl/hi_ary.cxx13
-rw-r--r--autodoc/source/display/idl/hi_display.cxx10
3 files changed, 0 insertions, 144 deletions
diff --git a/autodoc/source/display/idl/hfi_method.cxx b/autodoc/source/display/idl/hfi_method.cxx
index e7adc151dba8..b5d1aa9d3d8c 100644
--- a/autodoc/source/display/idl/hfi_method.cxx
+++ b/autodoc/source/display/idl/hfi_method.cxx
@@ -80,102 +80,6 @@ HF_IdlMethod::Produce_byData( const String & i_sName,
leave_ContentCell();
}
-#if 0 // old
-void
-HF_IdlMethod::write_Declaration( const String & i_sName,
- type_id i_nReturnType,
- param_list & i_rParams,
- type_list & i_rExceptions,
- bool i_bOneway,
- bool i_bEllipse ) const
-{
- HF_FunctionDeclaration
- aDecl(CurOut()) ;
- Xml::Element &
- front = aDecl.Add_ReturnLine();
-
- // Front:
- if (i_bOneway)
- front << "[oneway] ";
- if (i_nReturnType.IsValid())
- { // Normal function, but not constructors:
- HF_IdlTypeText
- aReturn(Env(), front, true);
- aReturn.Produce_byData(i_nReturnType);
- front
- << new Html::LineBreak;
-
- }
- front
- >> *new Html::Bold
- << i_sName;
-
- // Main line:
- Xml::Element &
- types = aDecl.Types();
- Xml::Element &
- names = aDecl.Names();
- bool bParams = i_rParams.operator bool();
- if (bParams)
- {
- front
- << "(";
- HF_IdlTypeText
- aType( Env(), types, true );
-
- write_Param( aType, names, (*i_rParams) );
-
- for (++i_rParams; i_rParams; ++i_rParams)
- {
- types
- << new Html::LineBreak;
- names
- << ","
- << new Html::LineBreak;
- write_Param( aType, names, (*i_rParams) );
- } // end for
-
- if (i_bEllipse)
- {
- names
- << " ...";
- }
- names
- << " )";
- }
- else
- front
- << "()";
-
-
- if ( i_rExceptions.operator bool() )
- {
- Xml::Element &
- rExcOut = aDecl.Add_RaisesLine("raises", NOT bParams);
- HF_IdlTypeText
- aExc(Env(), rExcOut, true);
- aExc.Produce_byData(*i_rExceptions);
-
- for (++i_rExceptions; i_rExceptions; ++i_rExceptions)
- {
- rExcOut
- << ","
- << new Html::LineBreak;
- aExc.Produce_byData(*i_rExceptions);
- } // end for
-
- rExcOut << " );";
- }
- else
- {
- if (bParams)
- aDecl.Names() << ";";
- else
- aDecl.Front() << ";";
- }
-}
-#endif // 0 old
-
void
HF_IdlMethod::write_Declaration( const String & i_sName,
type_id i_nReturnType,
@@ -267,31 +171,6 @@ HF_IdlMethod::write_Declaration( const String & i_sName,
}
}
-#if 0 // old
-void
-HF_IdlMethod::write_Param( HF_IdlTypeText & o_type,
- Xml::Element & o_names,
- const ary::idl::Parameter & i_param ) const
-{
- switch ( i_param.Direction() )
- {
- case ary::idl::param_in:
- o_type.CurOut() << "[in] ";
- break;
- case ary::idl::param_out:
- o_type.CurOut() << "[out] ";
- break;
- case ary::idl::param_inout:
- o_type.CurOut() << "[inout] ";
- break;
- } // end switch
-
- o_type.Produce_byData( i_param.Type() );
- o_names
- << i_param.Name();
-}
-#endif // 0 old
-
Xml::Element *
HF_IdlMethod::write_Param( HF_FunctionDeclaration & o_decl,
const ary::idl::Parameter & i_param ) const
diff --git a/autodoc/source/display/idl/hi_ary.cxx b/autodoc/source/display/idl/hi_ary.cxx
index 1dae94bdb139..855b9ede1536 100644
--- a/autodoc/source/display/idl/hi_ary.cxx
+++ b/autodoc/source/display/idl/hi_ary.cxx
@@ -177,19 +177,6 @@ AryAccess::Search_Ce( StringVector & o_module,
if (strchr(o_memberEntity,':') != 0)
return false; // This must not happen in IDL
-#if 0
-// The following code avoids false links, but is rather expensive
-// in runtime time consumation.
-
- const ary::idl::CodeEntity *
- pCe = Find_Ce(nCe);
- if (pCe == 0)
- return false;
-
- if ( NOT ary::idl::ifc_ce::attr::Search_Member(*pCe,o_memberEntity) )
- return false;
-#endif
-
return true;
}
diff --git a/autodoc/source/display/idl/hi_display.cxx b/autodoc/source/display/idl/hi_display.cxx
index f4786d6c9a14..b3eaa76279d6 100644
--- a/autodoc/source/display/idl/hi_display.cxx
+++ b/autodoc/source/display/idl/hi_display.cxx
@@ -162,16 +162,6 @@ HtmlDisplay_Idl::Create_FilesInProjectTree()
void
HtmlDisplay_Idl::Create_PackageList()
{
-#if 0
- Cout() << "\nCreate package list ..." << std::flush;
-
- pCurPageEnv->CurPosition() = pCurPageEnv->OutputTree().Root();
-
- // KORR
- // ...
-
- Cout() << " done." << Endl();
-#endif // 0
}
void