Clang warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-21 16:03:43 +03:00
parent c827152eb4
commit 31beeb0756

View File

@ -943,8 +943,8 @@ QVector<VLabelTemplateLine> VDomDocument::GetLabelTemplate(const QDomElement &el
line.line = GetParametrString(tagLine, AttrText, tr("<empty>")); line.line = GetParametrString(tagLine, AttrText, tr("<empty>"));
line.bold = GetParametrBool(tagLine, AttrBold, falseStr); line.bold = GetParametrBool(tagLine, AttrBold, falseStr);
line.italic = GetParametrBool(tagLine, AttrItalic, falseStr); line.italic = GetParametrBool(tagLine, AttrItalic, falseStr);
line.alignment = GetParametrUInt(tagLine, AttrAlignment, "0"); line.alignment = static_cast<int>(GetParametrUInt(tagLine, AttrAlignment, "0"));
line.fontSizeIncrement = GetParametrUInt(tagLine, AttrFSIncrement, "0"); line.fontSizeIncrement = static_cast<int>(GetParametrUInt(tagLine, AttrFSIncrement, "0"));
lines.append(line); lines.append(line);
} }
tagLine = tagLine.nextSiblingElement(TagLine); tagLine = tagLine.nextSiblingElement(TagLine);