Coverity: fix high impact issues

This commit is contained in:
wmayer
2016-08-17 15:33:04 +02:00
parent 9b013f7254
commit d98337b5f2
6 changed files with 12 additions and 9 deletions

View File

@@ -180,7 +180,7 @@ App::DocumentObjectExecReturn *FeatureViewSpreadsheet::execute(void)
celltext = field.str();
}
// get colors, style, alignment and span
int alignment;
int alignment = 0;
std::string bcolor = "none";
std::string fcolor = "#" + hr.str() + hg.str() + hb.str();
std::string textstyle = "";