mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0024023: Revamp the OCCT Handle -- general
Missing headers added; includes of headers "Handle_...hxx" removed. Misuses of macro Handle() and its use in typedefs corrected. Alias classes Profile and Option are removed from IFSelect; ones defined in MoniTool are used directly. Removed header files defining only Handle classes (except Image_PixMap_Handle.hxx) Classes SelectMgr_BaseFrustum and now inherit Standard_Transient and can be manipulated by Handle (not NCollection_Handle) Fixed reference-type local variable pointing to temporary object Use of handle in conditional expressions and comparisons to NULL are replaced by call to method IsNull()
This commit is contained in:
@@ -634,7 +634,7 @@ static Standard_Integer blend1(Draw_Interpretor& di, Standard_Integer narg, cons
|
||||
for (i=1;i<=nb;i++)
|
||||
{Standard_Integer s=aRakk.NbSection(i);
|
||||
for (j=1;j<=s;j++)
|
||||
{Handle(Geom_TrimmedCurve Sec);
|
||||
{Handle(Geom_TrimmedCurve) Sec;
|
||||
aRakk.Section(i,j,Sec);
|
||||
Sprintf(localname, "%s%d%d" ,"sec",i,j);
|
||||
temp =localname;
|
||||
|
Reference in New Issue
Block a user