0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / StepSelect / StepSelect_StepType.cxx
index 1f9f9d0..fd82fee 100644 (file)
@@ -24,6 +24,8 @@
 #include <StepSelect_StepType.hxx>
 #include <TColStd_SequenceOfAsciiString.hxx>
 
+IMPLEMENT_STANDARD_RTTIEXT(StepSelect_StepType,IFSelect_Signature)
+
 static TCollection_AsciiString lastvalue;
 
 
@@ -34,7 +36,7 @@ static TCollection_AsciiString lastvalue;
   (const Handle(Interface_Protocol)& proto)
 {
   DeclareAndCast(StepData_Protocol,newproto,proto);
-  if (newproto.IsNull()) Interface_InterfaceError::Raise("StepSelect_StepType");
+  if (newproto.IsNull()) throw Interface_InterfaceError("StepSelect_StepType");
   theproto = newproto;
   thelib.Clear();
   thelib.AddProtocol (theproto);