projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0024023: Revamp the OCCT Handle - gcc and clang
[occt.git]
/
src
/
AIS
/
AIS_Trihedron.cxx
diff --git
a/src/AIS/AIS_Trihedron.cxx
b/src/AIS/AIS_Trihedron.cxx
index
bbfe376
..
34682db
100644
(file)
--- a/
src/AIS/AIS_Trihedron.cxx
+++ b/
src/AIS/AIS_Trihedron.cxx
@@
-130,7
+130,7
@@
void AIS_Trihedron::SetSize(const Standard_Real aValue)
myDrawer->DatumAspect()->SetAxisLength(aValue,aValue,aValue);
for(Standard_Integer i=4;i<=6;i++)
-
(*((Handle(AIS_Plane)*)&myShapes[i])
)->SetSize(aValue);
+
Handle(AIS_Plane)::DownCast (myShapes[i]
)->SetSize(aValue);
Update();
UpdateSelection();