[app](const wgt::parse::AppWidget& widget) {
return widget.id == app->appid;
});
- if (appwidget == appwidgets.end()) {
+ if (appwidget == appwidgets.end())
return true;
- }
// Add extra elements for wgt widget-application
if (!appwidget->update_period.empty()) {
xmlTextWriterSetIndent(writer, 1);
Status status = GenerateManifestElement(writer);
- if (status != Status::OK) {
+ if (status != Status::OK)
return status;
- }
xmlTextWriterEndDocument(writer);
xmlFreeTextWriter(writer);
GenerateAuthor(writer);
GenerateDescription(writer);
Status status = GenerateApplications(writer);
- if (status != Status::OK) {
+ if (status != Status::OK)
return status;
- }
+
GeneratePrivilege(writer);
GenerateProvidesAppDefinedPrivilege(writer);
GenerateAccount(writer);