[Libreoffice-commits] .: autodoc/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Mon Feb 7 07:06:54 PST 2011


 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(-)

New commits:
commit a56a9b41e8624a4233f8171afbcf903f5a44f722
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Mon Feb 7 16:06:16 2011 +0100

    Remove dead code

diff --git a/autodoc/source/ary/idl/i2s_calculator.cxx b/autodoc/source/ary/idl/i2s_calculator.cxx
index 40abb03..6b33e5a 100644
--- a/autodoc/source/ary/idl/i2s_calculator.cxx
+++ b/autodoc/source/ary/idl/i2s_calculator.cxx
@@ -29,13 +29,10 @@
 #include <precomp.h>
 #include "i2s_calculator.hxx"
 
-
 // NOT FULLY DEFINED SERVICES
 #include <algorithm>
 #include <string.h>
 #include <cosv/file.hxx>
-//#include <adc_manager.hxx>
-//#include <adc_options.hxx>
 #include <ary/qualiname.hxx>
 #include <ary/idl/i_enum.hxx>
 #include <ary/idl/i_exception.hxx>
@@ -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 75485c8..a3abd15 100644
--- a/autodoc/source/parser/cpp/c_dealer.cxx
+++ b/autodoc/source/parser/cpp/c_dealer.cxx
@@ -29,13 +29,11 @@
 #include <precomp.h>
 #include "c_dealer.hxx"
 
-
 // NOT FULLY DECLARED SERVICES
 #include <ary/cpp/c_gate.hxx>
 #include <ary/loc/locp_le.hxx>
 #include <ary/loc/loc_root.hxx>
 #include <ary/loc/loc_file.hxx>
-//#include <ary/docu.hxx>
 #include <adoc/a_rdocu.hxx>
 #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 72c5612..84ab4b9 100644
--- a/autodoc/source/parser/cpp/c_rcode.cxx
+++ b/autodoc/source/parser/cpp/c_rcode.cxx
@@ -29,11 +29,9 @@
 #include <precomp.h>
 #include "c_rcode.hxx"
 
-
 // NOT FULLY DECLARED SERVICES
 #include <ary/cpp/c_gate.hxx>
 #include <ary/cpp/c_namesp.hxx>
-// #include <ary/cpp/c_groups.hxx>
 #include <ary/loc/locp_le.hxx>
 #include "cpp_pe.hxx"
 #include <adc_cl.hxx>
diff --git a/autodoc/source/parser/cpp/pe_enum.hxx b/autodoc/source/parser/cpp/pe_enum.hxx
index 8cae60c..98de979 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 <semantic/callf.hxx>
 #include <semantic/sub_peu.hxx>
-    // PARAMETERS
-// #include "all_toks.hxx"
-
 
 namespace cpp {
 
diff --git a/autodoc/source/parser/tokens/tkpstama.cxx b/autodoc/source/parser/tokens/tkpstama.cxx
index 52e0ba6..e647a82 100644
--- a/autodoc/source/parser/tokens/tkpstama.cxx
+++ b/autodoc/source/parser/tokens/tkpstama.cxx
@@ -30,12 +30,9 @@
 #include <tokens/tkpstama.hxx>
 
 // NOT FULLY DECLARED SERVICES
-// #include <srcfind.hxx>
 #include <tokens/stmstarr.hxx>
-//#include <parseinc.hxx>
 #include <tools/tkpchars.hxx>
 
-
 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 ab0caef..030a949 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 <ary/idl/i_gate.hxx>
-// #include <ary/idl/ip_ce.hxx>
 #include <s2_luidl/parsenv2.hxx>
 #include <s2_luidl/pestate.hxx>
     // COMPONENTS
diff --git a/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx b/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx
index 65f18a6..4d38677 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 <s2_luidl/tokproct.hxx>
     // COMPONENTS
     // PARAMETERS
 #include <ary/qualiname.hxx>
-// #include <udm/ref.hxx>
 
 
 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<UnoIDL_PE*>
-                        aTryableSubEnvironments;
-    uintt				nTryCounter;
-};
-
-*/
-
-
-// IMPLEMENTATION
-
-
 }   // namespace uidl
 }   // namespace csi
 


More information about the Libreoffice-commits mailing list