summaryrefslogtreecommitdiff
path: root/autodoc/source/display
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/display')
-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
-rw-r--r--autodoc/source/display/inc/toolkit/hf_funcdecl.hxx33
-rw-r--r--autodoc/source/display/toolkit/hf_funcdecl.cxx47
5 files changed, 0 insertions, 224 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
diff --git a/autodoc/source/display/inc/toolkit/hf_funcdecl.hxx b/autodoc/source/display/inc/toolkit/hf_funcdecl.hxx
index 1b943dde3e19..0dcfe5fbe88d 100644
--- a/autodoc/source/display/inc/toolkit/hf_funcdecl.hxx
+++ b/autodoc/source/display/inc/toolkit/hf_funcdecl.hxx
@@ -35,39 +35,6 @@
// COMPONENTS
// PARAMETERS
-
-#if 0 // old
-/** @resp
- Provides three cells to put in a function declaration.
-*/
-class HF_FunctionDeclaration : public HtmlMaker
-{
- public:
- HF_FunctionDeclaration(
- Xml::Element & o_rParent );
- virtual ~HF_FunctionDeclaration();
-
- /// Inserts empty line in 2nd and 3rd cell and returns first.
- Xml::Element & Add_ReturnLine();
-
- /** Inserts empty line in 1st cell, "raises (" in 2nd
- and returns 3rd.
- */
- Xml::Element & Add_RaisesLine(
- const char * i_sRaisesText,
- bool i_bSuppressExtraLine = false );
-
- Xml::Element & Front() { return *pFront; }
- Xml::Element & Types() { return *pTypes; }
- Xml::Element & Names() { return *pNames; }
-
- private:
- Xml::Element * pFront;
- Xml::Element * pTypes;
- Xml::Element * pNames;
-};
-#endif // 0 old
-
class HF_FunctionDeclaration : public HtmlMaker
{
public:
diff --git a/autodoc/source/display/toolkit/hf_funcdecl.cxx b/autodoc/source/display/toolkit/hf_funcdecl.cxx
index ee260add569a..4f0c652b1934 100644
--- a/autodoc/source/display/toolkit/hf_funcdecl.cxx
+++ b/autodoc/source/display/toolkit/hf_funcdecl.cxx
@@ -156,51 +156,4 @@ HF_FunctionDeclaration::ParameterLine()
return *pParameterLine;
}
-
-#if 0 // old
-HF_FunctionDeclaration::HF_FunctionDeclaration( Xml::Element & o_rParent )
- : HtmlMaker(o_rParent),
- pFront(0),
- pTypes(0),
- pNames(0)
-{
- Xml::Element &
- rRow = CurOut()
- >> *new Html::Table
- << new Xml::AnAttribute("border","0")
- >> *new Html::TableRow;
- pFront = &(rRow >> *new Html::TableCell << new Html::VAlignAttr(C_sValignTop));
- pTypes = &(rRow >> *new Html::TableCell << new Html::VAlignAttr(C_sValignTop));
- pNames = &(rRow >> *new Html::TableCell << new Html::VAlignAttr(C_sValignTop));
-}
-
-HF_FunctionDeclaration::~HF_FunctionDeclaration()
-{
-}
-
-Xml::Element &
-HF_FunctionDeclaration::Add_ReturnLine()
-{
- (*pTypes) << new Xml::XmlCode("&nbsp;<br>\n");
- (*pNames) << new Xml::XmlCode("&nbsp;<br>\n");
- return *pFront;
-}
-
-Xml::Element &
-HF_FunctionDeclaration::Add_RaisesLine( const char * i_sRaisesText,
- bool i_bSuppressExtraLine )
-{
- if (NOT i_bSuppressExtraLine)
- {
- (*pTypes) << new Xml::XmlCode("&nbsp;<br>");
- (*pNames) << new Xml::XmlCode("&nbsp;<br>\n");
- }
- (*pTypes)
- << new Xml::XmlCode("<p class=\"raise\">")
- << i_sRaisesText
- << new Xml::XmlCode("( </p>\n");
- return *pNames;
-}
-#endif // 0 old
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */