[TD] remove unused headers (#8155)

* [TD] remove unused headers

- also some sorting
- also improve readability by not using an abbreviation (we consistently don't abbreviate class names)
This commit is contained in:
Uwe
2023-01-09 14:55:22 +01:00
committed by GitHub
parent 3a8fcb53ec
commit f8db7e9187
36 changed files with 139 additions and 199 deletions

View File

@@ -30,7 +30,6 @@
#include <Base/UnitsApi.h>
#include "DimensionFormatter.h"
#include "DrawViewDimension.h"
#include "Preferences.h"
@@ -392,7 +391,7 @@ std::string DimensionFormatter::getDefaultFormatSpec(bool isToleranceFormat) con
//true if value is too small to display using formatSpec
bool DimensionFormatter::isTooSmall(double value, QString formatSpec)
{
if (DU::fpCompare(value, 0.0)) {
if (TechDraw::DrawUtil::fpCompare(value, 0.0)) {
//zero values always fit, so it isn't too small
return false;
}