diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-04-05 10:16:07 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-04-05 10:16:07 +0200 |
commit | 45f0cc2ec176f02592a4e67942b1220f7837ab9f (patch) | |
tree | 792241b1efd30744250b98879149c36aedf4f75e /shell/source/all | |
parent | fe44fe403e57155cb479cd8e9cfbb77e1ba4fb01 (diff) |
Remove commented code in libs-core/shell
Diffstat (limited to 'shell/source/all')
-rw-r--r-- | shell/source/all/ooofilereader/basereader.cxx | 8 | ||||
-rw-r--r-- | shell/source/all/xml_parser.cxx | 14 | ||||
-rw-r--r-- | shell/source/all/zipfile/zipexcptn.hxx | 2 |
3 files changed, 0 insertions, 24 deletions
diff --git a/shell/source/all/ooofilereader/basereader.cxx b/shell/source/all/ooofilereader/basereader.cxx index 39752fe70515..2c0f8bdb3522 100644 --- a/shell/source/all/ooofilereader/basereader.cxx +++ b/shell/source/all/ooofilereader/basereader.cxx @@ -43,8 +43,6 @@ m_ZipFile( DocumentName ) } //------------------------------ -// -//------------------------------ CBaseReader::CBaseReader(void * sw, zlib_filefunc_def* fa): m_ZipFile( sw , fa ) @@ -52,24 +50,18 @@ m_ZipFile( sw , fa ) } //------------------------------ -// -//------------------------------ CBaseReader::~CBaseReader() { } //------------------------------ -// -//------------------------------ void CBaseReader::start_document() { } //------------------------------ -// -//------------------------------ void CBaseReader::end_document() { diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx index 71665ce9fd0d..10d7f88a8580 100644 --- a/shell/source/all/xml_parser.cxx +++ b/shell/source/all/xml_parser.cxx @@ -37,7 +37,6 @@ namespace /* private */ { - //###################################################### /* Extracts the local part of tag without namespace decoration e.g. meta:creator -> creator */ const XML_Char COLON = (XML_Char)':'; @@ -60,14 +59,12 @@ namespace /* private */ return p; } - //################################################ inline xml_parser* get_parser_instance(void* data) { return reinterpret_cast<xml_parser*>(XML_GetUserData( reinterpret_cast<XML_Parser>(data))); } - //################################################ bool has_only_whitespaces(const XML_Char* s, int len) { const XML_Char* p = s; @@ -77,7 +74,6 @@ namespace /* private */ } } -//################################################### xml_parser::xml_parser(const XML_Char* EncodingName) : document_handler_(0), xml_parser_(XML_ParserCreate(EncodingName)) @@ -85,17 +81,14 @@ xml_parser::xml_parser(const XML_Char* EncodingName) : init(); } -//################################################### xml_parser::~xml_parser() { XML_ParserFree(xml_parser_); } -//################################################### /* Callback functions will be called by the parser on different events */ -//################################################### extern "C" { @@ -123,7 +116,6 @@ static void xml_start_element_handler(void* UserData, const XML_Char* name, cons } } -//################################################### static void xml_end_element_handler(void* UserData, const XML_Char* name) { assert(UserData); @@ -134,7 +126,6 @@ static void xml_end_element_handler(void* UserData, const XML_Char* name) pDocHdl->end_element(reinterpret_cast<const char_t*>(name), reinterpret_cast<const char_t*>(get_local_name(name))); } -//################################################### static void xml_character_data_handler(void* UserData, const XML_Char* s, int len) { assert(UserData); @@ -150,7 +141,6 @@ static void xml_character_data_handler(void* UserData, const XML_Char* s, int le } } -//################################################### static void xml_comment_handler(void* UserData, const XML_Char* Data) { assert(UserData); @@ -163,7 +153,6 @@ static void xml_comment_handler(void* UserData, const XML_Char* Data) } // extern "C" -//################################################### void xml_parser::init() { XML_SetUserData(xml_parser_, this); @@ -188,7 +177,6 @@ void xml_parser::init() xml_comment_handler); } -//################################################### void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal) { if (0 == XML_Parse(xml_parser_, XmlData, Length, IsFinal)) @@ -200,14 +188,12 @@ void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal) XML_GetCurrentByteIndex(xml_parser_)); } -//################################################### void xml_parser::set_document_handler( i_xml_parser_event_handler* event_handler) { document_handler_ = event_handler; } -//################################################### i_xml_parser_event_handler* xml_parser::get_document_handler() const { return document_handler_; diff --git a/shell/source/all/zipfile/zipexcptn.hxx b/shell/source/all/zipfile/zipexcptn.hxx index 80ddfe9702bc..0b635448f482 100644 --- a/shell/source/all/zipfile/zipexcptn.hxx +++ b/shell/source/all/zipfile/zipexcptn.hxx @@ -1,7 +1,5 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // ZipException.h: interface for the ZipException class. -// -////////////////////////////////////////////////////////////////////// #ifndef ZIPEXCPTN_HXX_INCLUDED #define ZIPEXCPTN_HXX_INCLUDED |