From 45f0cc2ec176f02592a4e67942b1220f7837ab9f Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 5 Apr 2011 10:16:07 +0200 Subject: Remove commented code in libs-core/shell --- shell/inc/internal/contentreader.hxx | 1 - shell/inc/internal/i_xml_parser_event_handler.hxx | 1 - shell/inc/internal/types.hxx | 9 --------- shell/inc/internal/xml_parser.hxx | 5 ----- 4 files changed, 16 deletions(-) (limited to 'shell/inc/internal') diff --git a/shell/inc/internal/contentreader.hxx b/shell/inc/internal/contentreader.hxx index 3d1650c559bc..6a7dc594af60 100644 --- a/shell/inc/internal/contentreader.hxx +++ b/shell/inc/internal/contentreader.hxx @@ -38,7 +38,6 @@ class CContentReader : public CBaseReader public: virtual ~CContentReader(); - //CContentReader( const std::string& DocumentName ); CContentReader( const std::string& DocumentName, LocaleSet_t const & DocumentLocale ); CContentReader( void* stream, LocaleSet_t const & DocumentLocale, zlib_filefunc_def* fa ); diff --git a/shell/inc/internal/i_xml_parser_event_handler.hxx b/shell/inc/internal/i_xml_parser_event_handler.hxx index af0844d2654f..710efc062ab5 100644 --- a/shell/inc/internal/i_xml_parser_event_handler.hxx +++ b/shell/inc/internal/i_xml_parser_event_handler.hxx @@ -44,7 +44,6 @@ typedef std::map xml_tag_attribute_container_t; -//######################################### class i_xml_parser_event_handler { public: diff --git a/shell/inc/internal/types.hxx b/shell/inc/internal/types.hxx index bf6c5d1536f7..a806d02768dd 100644 --- a/shell/inc/internal/types.hxx +++ b/shell/inc/internal/types.hxx @@ -41,13 +41,10 @@ typedef std::vector StringList_t; //+------------------------------------------------------------------------- -// // Declare: XmlTagAttributes_t, xml tag attribute struct // XmlTag_t, xml tag including content and attributes. // XmlTags_t, tags defined with tag name and xml tag. -// // Contents: Definitions of xml tag used in parser. -// //-------------------------------------------------------------------------- typedef std::wstring Name_t; typedef std::wstring Value_t; @@ -60,13 +57,10 @@ typedef std::map XmlTags_t; const XmlTag_t EMPTY_XML_TAG = std::make_pair(std::wstring(), XmlTagAttributes_t()); //+------------------------------------------------------------------------- -// // Declare: Language_t, language of the Locale pair // Country_t, country of the Local pair // LocaleSet_t, Local pair -// // Contents: Definitions of Chunk properties. -// //-------------------------------------------------------------------------- typedef ::std::wstring Language_t; typedef ::std::wstring Country_t; @@ -80,12 +74,9 @@ const LocaleSet_t EMPTY_LOCALE = ::std::make_pair(::std::wstring(), ::std::wstri const Chunk_t EMPTY_CHUNK = ::std::make_pair( EMPTY_LOCALE, ::std::wstring()); //+------------------------------------------------------------------------- -// // Declare: StyleName_t, style name of a style-locale pair. // StyleLocaleMap, the map of Styple-Locale pair. -// // Contents: Definitions of Style Names. -// //-------------------------------------------------------------------------- typedef ::std::wstring StyleName_t; typedef ::std::pair StyleLocalePair_t; diff --git a/shell/inc/internal/xml_parser.hxx b/shell/inc/internal/xml_parser.hxx index d57110deaf29..fbf7cf2e03ce 100644 --- a/shell/inc/internal/xml_parser.hxx +++ b/shell/inc/internal/xml_parser.hxx @@ -66,13 +66,10 @@ class i_xml_parser_event_handler; class xml_parser { public: - //######################################################## xml_parser(const XML_Char* EncodingName = 0); - //######################################################## ~xml_parser(); - //######################################################## /** Parse a XML data stream @param pXmlData @@ -94,7 +91,6 @@ public: contains detailed information about the error. */ void parse(const char* XmlData, size_t Length, bool IsFinal = true); - //######################################################## /** Set a document handler @descr A document handler implements the interface i_xml_parser_event_handler. @@ -113,7 +109,6 @@ public: @postcond currently used document handler == pSaxDocumentHandler */ void set_document_handler(i_xml_parser_event_handler* event_handler); - //######################################################## /** Returns the currently used document handler or null if no document handler was set before. */ i_xml_parser_event_handler* get_document_handler() const; -- cgit