Remove unused string helper

This commit is contained in:
Marek Roszko 2022-08-15 18:54:53 -04:00
parent 088ddf82eb
commit e4ba1d4879
2 changed files with 1 additions and 17 deletions

View File

@ -1122,15 +1122,4 @@ std::string Double2Str( double aValue )
}
return std::string( buf, len );
}
wxString AngleToStringDegrees( double aAngle )
{
wxString text;
text.Printf( wxT( "%.3f" ), aAngle / 10.0 );
StripTrailingZeros( text, 1 );
return text;
}
}

View File

@ -354,9 +354,4 @@ void StripTrailingZeros( wxString& aStringValue, unsigned aTrailingZeroAllowed =
*/
std::string Double2Str( double aValue );
/**
* A helper to convert the \a double \a aAngle (in internal unit) to a string in degrees.
*/
wxString AngleToStringDegrees( double aAngle );
#endif // STRING_UTILS_H