Minor code cleanup.

This commit is contained in:
Jim Evins
2017-11-25 16:54:37 -05:00
parent ae76470ea9
commit c6c52a8895
11 changed files with 24 additions and 16 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ namespace glabels
///
/// Color Node Type
///
struct ColorNode
class ColorNode
{
/////////////////////////////////
+1 -1
View File
@@ -35,7 +35,7 @@ namespace glabels
///
/// Label Region Type
///
struct Region
class Region
{
/////////////////////////////////
+2 -4
View File
@@ -29,13 +29,13 @@ namespace glabels
{
SubstitutionField::SubstitutionField()
: mNewLine(false), mFormatType(0)
: mFormatType(0), mNewLine(false)
{
}
SubstitutionField::SubstitutionField( const QString& string )
: mNewLine(false), mFormatType(0)
: mFormatType(0), mNewLine(false)
{
QStringRef s(&string);
parse( s, *this );
@@ -197,8 +197,6 @@ namespace glabels
bool SubstitutionField::parseFormatModifier( QStringRef& s, SubstitutionField& field )
{
bool success = false;
field.mFormat = "%";
parseFormatFlags( s, field );