mathplot: fix a bug and remove unused variables ( it fixes a few compil warnings) from Coverity analysis.

Uncrustify mathplot.h and fix a few coding style issues.
This commit is contained in:
jean-pierre charras 2016-11-28 14:18:22 +01:00
parent 30df041de6
commit c225af747f
2 changed files with 1492 additions and 1479 deletions

View File

@ -1267,7 +1267,6 @@ mpScaleXBase::mpScaleXBase( wxString name, int flags, bool ticks, unsigned int t
m_ticks = ticks;
// m_labelType = type;
m_type = mpLAYER_AXIS;
// m_labelFormat = wxT("");
}
@ -1497,7 +1496,6 @@ mpScaleY::mpScaleY( wxString name, int flags, bool ticks )
m_type = mpLAYER_AXIS;
m_masterScale = NULL;
m_nameFlags = mpALIGN_BORDER_LEFT;
// m_labelFormat = wxT("");
}
@ -3429,7 +3427,7 @@ mpText::mpText( wxString name, int offsetx, int offsety )
if( offsety >= 0 && offsety <= 100 )
m_offsety = offsety;
else
m_offsetx = 50;
m_offsety = 50;
m_type = mpLAYER_INFO;
}

File diff suppressed because it is too large Load Diff