From: Tomasz Iwanek Date: Mon, 16 May 2016 14:07:24 +0000 (+0200) Subject: Fix style X-Git-Tag: accepted/tizen/common/20160518.125136~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=630f25a59c639b025fbb87fe248f5d84c53f4968;p=platform%2Fcore%2Fappfw%2Fwgt-backend.git Fix style Change-Id: I59a00a194561d25172a96c8f60314d01a5b08936 --- diff --git a/src/unit_tests/manifest_test.cc b/src/unit_tests/manifest_test.cc index b72a9bd..ab26141 100644 --- a/src/unit_tests/manifest_test.cc +++ b/src/unit_tests/manifest_test.cc @@ -593,5 +593,4 @@ TEST_F(ManifestTest, CategoryElement_MultipleElements) { "http://tizen.org/category/category_1"); ASSERT_CSTR_EQ(categories[2].c_str(), "http://tizen.org/category/category_2"); - } diff --git a/src/wgt/step/common/privileges.cc b/src/wgt/step/common/privileges.cc index 5634f90..20b5cc3 100644 --- a/src/wgt/step/common/privileges.cc +++ b/src/wgt/step/common/privileges.cc @@ -1,7 +1,8 @@ // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved // Use of this source code is governed by a apache 2.0 license that can be // found in the LICENSE file. -#include "privileges.h" + +#include "wgt/step/common/privileges.h" namespace wgt { namespace common { diff --git a/src/wgt/step/pkgmgr/step_generate_xml.cc b/src/wgt/step/pkgmgr/step_generate_xml.cc index 43c96ee..614009e 100644 --- a/src/wgt/step/pkgmgr/step_generate_xml.cc +++ b/src/wgt/step/pkgmgr/step_generate_xml.cc @@ -429,11 +429,14 @@ common_installer::Step::Status StepGenerateXml::process() { if (!ime_uuid.empty()) { xmlTextWriterStartElement(writer, BAD_CAST "ime"); - GListRange app_range(context_->manifest_data.get()->application); + GListRange app_range( + context_->manifest_data.get()->application); if (!app_range.Empty()) { // wgt app have ui-application as first application element. // there may be service-applications but not as first element. - xmlTextWriterWriteAttribute(writer, BAD_CAST "appid", BAD_CAST (*app_range.begin())->appid); + application_x* app = *app_range.begin(); + xmlTextWriterWriteAttribute(writer, BAD_CAST "appid", + BAD_CAST app->appid); } xmlTextWriterStartElement(writer, BAD_CAST "uuid"); diff --git a/src/wgt/step/rds/step_wgt_rds_modify.h b/src/wgt/step/rds/step_wgt_rds_modify.h index f09347d..67f9d28 100644 --- a/src/wgt/step/rds/step_wgt_rds_modify.h +++ b/src/wgt/step/rds/step_wgt_rds_modify.h @@ -33,7 +33,7 @@ class StepWgtRDSModify : public common_installer::rds::StepRDSModify { std::string GetAppPath() override; }; -} // rds -} // wgt +} // namespace rds +} // namespace wgt #endif // WGT_STEP_RDS_STEP_WGT_RDS_MODIFY_H_ diff --git a/src/wgt/step/security/step_check_wgt_ime_privilege.cc b/src/wgt/step/security/step_check_wgt_ime_privilege.cc index a791bfc..034f0cf 100644 --- a/src/wgt/step/security/step_check_wgt_ime_privilege.cc +++ b/src/wgt/step/security/step_check_wgt_ime_privilege.cc @@ -10,6 +10,8 @@ #include +#include + namespace { const char kImeCategoryName[] = "http://tizen.org/category/ime"; }