From 7cc670555fbaaefa66f2aebfa97bc40d0557d930 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 7 Feb 2011 16:06:16 +0100 Subject: Remove dead code --- autodoc/source/ary/idl/i2s_calculator.cxx | 21 -------------- autodoc/source/parser/cpp/c_dealer.cxx | 2 -- autodoc/source/parser/cpp/c_rcode.cxx | 2 -- autodoc/source/parser/cpp/pe_enum.hxx | 6 ---- autodoc/source/parser/tokens/tkpstama.cxx | 5 ---- autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx | 4 --- autodoc/source/parser_i/inc/s2_luidl/semnode.hxx | 35 ----------------------- 7 files changed, 75 deletions(-) (limited to 'autodoc/source') diff --git a/autodoc/source/ary/idl/i2s_calculator.cxx b/autodoc/source/ary/idl/i2s_calculator.cxx index e469ec14fd90..5c3254755841 100644 --- a/autodoc/source/ary/idl/i2s_calculator.cxx +++ b/autodoc/source/ary/idl/i2s_calculator.cxx @@ -29,13 +29,10 @@ #include #include "i2s_calculator.hxx" - // NOT FULLY DEFINED SERVICES #include #include #include -//#include -//#include #include #include #include @@ -67,7 +64,6 @@ #include "it_xnameroom.hxx" - namespace ary { namespace idl @@ -252,23 +248,6 @@ void SecondariesCalculator::Make_Links2DeveloperManual( const String & i_devman_reffilepath ) { -// const autodoc::Options & -// rOptions = TheAutodocManager().TheOptions(); -// -// const String & -// rDeveloperManual_URL -// = rOptions.Get_Extra(autodoc::OPT_developer_guide); -// const String -// rDeveloperManual_ReferenceFile -// = rOptions.Get_Extra(autodoc::OPT_developer_guide_refs_file); - -// if ( rDeveloperManual_URL.length() == 0 -// OR -// rDeveloperManual_ReferenceFile.length() == 0 ) -// { -// return; -// } - csv::File aFile(i_devman_reffilepath, csv::CFM_READ); csv::OpenCloseGuard diff --git a/autodoc/source/parser/cpp/c_dealer.cxx b/autodoc/source/parser/cpp/c_dealer.cxx index a41d9daeb1d1..a366e1883c69 100644 --- a/autodoc/source/parser/cpp/c_dealer.cxx +++ b/autodoc/source/parser/cpp/c_dealer.cxx @@ -29,13 +29,11 @@ #include #include "c_dealer.hxx" - // NOT FULLY DECLARED SERVICES #include #include #include #include -//#include #include #include "all_toks.hxx" #include "c_rcode.hxx" diff --git a/autodoc/source/parser/cpp/c_rcode.cxx b/autodoc/source/parser/cpp/c_rcode.cxx index 1478496c057e..05c32b880efd 100644 --- a/autodoc/source/parser/cpp/c_rcode.cxx +++ b/autodoc/source/parser/cpp/c_rcode.cxx @@ -29,11 +29,9 @@ #include #include "c_rcode.hxx" - // NOT FULLY DECLARED SERVICES #include #include -// #include #include #include "cpp_pe.hxx" #include diff --git a/autodoc/source/parser/cpp/pe_enum.hxx b/autodoc/source/parser/cpp/pe_enum.hxx index 8d7484a9a6df..3f1a38e022bf 100644 --- a/autodoc/source/parser/cpp/pe_enum.hxx +++ b/autodoc/source/parser/cpp/pe_enum.hxx @@ -29,18 +29,12 @@ #ifndef ADC_CPP_PE_ENUM_HXX #define ADC_CPP_PE_ENUM_HXX - - - // USED SERVICES // BASE CLASSES #include "cpp_pe.hxx" // COMPONENTS #include #include - // PARAMETERS -// #include "all_toks.hxx" - namespace cpp { diff --git a/autodoc/source/parser/tokens/tkpstama.cxx b/autodoc/source/parser/tokens/tkpstama.cxx index bf27299ef63c..aefe72cac10b 100644 --- a/autodoc/source/parser/tokens/tkpstama.cxx +++ b/autodoc/source/parser/tokens/tkpstama.cxx @@ -30,12 +30,9 @@ #include // NOT FULLY DECLARED SERVICES -// #include #include -//#include #include - const intt C_nStatuslistResizeValue = 32; const intt C_nTopStatus = 0; @@ -159,8 +156,6 @@ StateMachine::CurrentStatus() const StmArrayStatus * pCurSt = Status(nCurrentStatus).AsArray(); csv_assert(pCurSt != 0); -// if(pCurSt == 0) -// csv_assert(false); return *pCurSt; } diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx index 3d639c2f8b6a..c39d4f553073 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx @@ -29,12 +29,8 @@ #ifndef ADC_UIDL_PE_FUNC2_HXX #define ADC_UIDL_PE_FUNC2_HXX - - // USED SERVICES // BASE CLASSES -// #include -// #include #include #include // COMPONENTS diff --git a/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx b/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx index 75c8fdf4bdce..b734fd9f72f4 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx @@ -29,15 +29,12 @@ #ifndef ADC_SEMNODE_HXX #define ADC_SEMNODE_HXX - - // USED SERVICES // BASE CLASSES #include // COMPONENTS // PARAMETERS #include -// #include namespace ary @@ -94,38 +91,6 @@ class SemanticNode : private TokenProcessing_Types }; -/* -class Trying_PE -{ - public: - virtual ~Trying_PE() {} - - protected: - Trying_PE(); - - virtual void ProcessToken( - const Token & i_rToken ); - - void StartTry( - UnoIDL_PE & i_rFirstTry ); - void Add2Try( - UnoIDL_PE & i_rTry ); - bool AmITrying() const; - UnoIDL_PE * NextTry() const; - void FinishTry(); - - private: - std::vector - aTryableSubEnvironments; - uintt nTryCounter; -}; - -*/ - - -// IMPLEMENTATION - - } // namespace uidl } // namespace csi -- cgit