From bc12c739f0b6f2ce068e19d80e34323346f8070b Mon Sep 17 00:00:00 2001 From: "yanjie.hu" Date: Thu, 21 Mar 2013 16:29:44 +0800 Subject: [PATCH] delete unused codes Change-Id: Ic0e36fac703f84b9ec27d3f6610fe7792769edd0 --- xmlresource/autopopup_configure_parser.cpp | 3 --- xmlresource/default_configure_parser.cpp | 3 --- xmlresource/label_properties_parser.cpp | 3 --- xmlresource/magnifier_configure_parser.cpp | 3 --- xmlresource/main_entry_parser.cpp | 4 ---- xmlresource/modifier_decoration_parser.cpp | 3 --- 6 files changed, 19 deletions(-) diff --git a/xmlresource/autopopup_configure_parser.cpp b/xmlresource/autopopup_configure_parser.cpp index 097aed9..094ec40 100644 --- a/xmlresource/autopopup_configure_parser.cpp +++ b/xmlresource/autopopup_configure_parser.cpp @@ -305,9 +305,6 @@ AutoPopupConfigParser* AutoPopupConfigParser::m_instance = NULL; AutoPopupConfigParser::AutoPopupConfigParser() { m_impl = new AutoPopupConfigureParserImpl; - if (m_impl == NULL) { - SCLLOG(SclLog::ERROR, "Create AutoPopupConfigParser failed"); - } } AutoPopupConfigParser::~AutoPopupConfigParser() { diff --git a/xmlresource/default_configure_parser.cpp b/xmlresource/default_configure_parser.cpp index 51e8783..9cfb0ad 100644 --- a/xmlresource/default_configure_parser.cpp +++ b/xmlresource/default_configure_parser.cpp @@ -213,9 +213,6 @@ DefaultConfigParser::get_instance() { } DefaultConfigParser::DefaultConfigParser() { m_impl = new DefaultConfigureParserImpl; - if (m_impl == NULL) { - SCLLOG(SclLog::ERROR, "Create DefaultConfigureParserImpl failed"); - } } DefaultConfigParser::~DefaultConfigParser() { diff --git a/xmlresource/label_properties_parser.cpp b/xmlresource/label_properties_parser.cpp index f1a4c24..39a2f7c 100644 --- a/xmlresource/label_properties_parser.cpp +++ b/xmlresource/label_properties_parser.cpp @@ -384,9 +384,6 @@ LabelPropertyParser* LabelPropertyParser::m_instance = NULL; LabelPropertyParser::LabelPropertyParser() { m_impl = new LabelPropertiesParserImpl; - if (m_impl == NULL) { - SCLLOG(SclLog::ERROR, "Create LabelPropertyParser failed"); - } } LabelPropertyParser::~LabelPropertyParser() { diff --git a/xmlresource/magnifier_configure_parser.cpp b/xmlresource/magnifier_configure_parser.cpp index 73193ff..6b66262 100644 --- a/xmlresource/magnifier_configure_parser.cpp +++ b/xmlresource/magnifier_configure_parser.cpp @@ -203,9 +203,6 @@ MagnifierConfigParser* MagnifierConfigParser::m_instance = NULL; MagnifierConfigParser::MagnifierConfigParser() { m_impl = new MagnifierConfigureParserImpl; - if (m_impl == NULL) { - SCLLOG(SclLog::ERROR, "Create MagnifierConfigParser failed"); - } } MagnifierConfigParser::~MagnifierConfigParser() { diff --git a/xmlresource/main_entry_parser.cpp b/xmlresource/main_entry_parser.cpp index c02ceff..bcc854c 100644 --- a/xmlresource/main_entry_parser.cpp +++ b/xmlresource/main_entry_parser.cpp @@ -109,10 +109,6 @@ MainEntryParser* MainEntryParser::m_instance = NULL; MainEntryParser::MainEntryParser() { m_impl = new MainEntryParserImpl; - if (m_impl == NULL) { - SCLLOG(SclLog::ERROR, "Create MainEntryParserImpl failed"); - return; - } } MainEntryParser::~MainEntryParser() { diff --git a/xmlresource/modifier_decoration_parser.cpp b/xmlresource/modifier_decoration_parser.cpp index 28a7db8..ddd9af8 100644 --- a/xmlresource/modifier_decoration_parser.cpp +++ b/xmlresource/modifier_decoration_parser.cpp @@ -245,9 +245,6 @@ ModifierDecorationParser::get_instance() { ModifierDecorationParser::ModifierDecorationParser() { m_impl = new ModifierDecorationParserImpl; - if (m_impl == NULL) { - SCLLOG(SclLog::ERROR, "Create ModifierDecorationParser failed"); - } } ModifierDecorationParser::~ModifierDecorationParser() { -- 2.7.4