1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

0026922: Huge performance issue writing data to the output stream

Test case for issue CR26922

Correction of literal (char to string)
This commit is contained in:
mgn
2015-12-02 16:39:55 +03:00
committed by bugmaster
parent cc6852f3e9
commit 586db386eb
183 changed files with 3221 additions and 3181 deletions

View File

@@ -177,7 +177,7 @@ static Standard_Integer hlr (Draw_Interpretor& di,
di << "\n";
if (withHLR) {
di << "Angle of discretization : ";
di << anglHLR * 180 / M_PI << " degrees" << "\n";
di << anglHLR * 180 / M_PI << " degrees\n";
}
}
else di << " wireframe";
@@ -212,7 +212,7 @@ static Standard_Integer hlr (Draw_Interpretor& di,
}
else if (!strcasecmp(a[1],"ang" )) {
di << "Angle de discretisation : ";
di << anglHLR * 180 / M_PI << " degres" << "\n";
di << anglHLR * 180 / M_PI << " degres\n";
}
else return 1;
}
@@ -228,7 +228,7 @@ static Standard_Integer hlr (Draw_Interpretor& di,
if (anglHLR > HAngMax) anglHLR = HAngMax;
}
di << "Angle of discretization : ";
di << anglHLR * 180 / M_PI << " degrees" << "\n";
di << anglHLR * 180 / M_PI << " degrees\n";
}
if (n >= nFirst + 1) {
@@ -636,7 +636,7 @@ static Standard_Integer nexplode(Draw_Interpretor& di,
// Check of equality of MidXYZ
for (Index=1; Index < MaxShapes; Index++) {
if (MidXYZ(OrderInd(Index+1)) == MidXYZ(OrderInd(Index)))
di<<"Warning! For this shape the results may be incorrect."<<"\n";
di<<"Warning! For this shape the results may be incorrect.\n";
}
for (Index=1 ;Index <= MaxShapes; Index++) {
@@ -1155,7 +1155,7 @@ static Standard_Integer normals(Draw_Interpretor& di,
V.Multiply(l/x);
else {
V.SetCoord(l/2.,0,0);
di << "Null normal"<< "\n";
di << "Null normal\n";
}
P2 = P1;