mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027432: Null Handle Access When Creating AIS_Trihedron
Debug-only "RaiseIf" is replaced by simple "if" to have exceptional situation handled correctly in Release mode. Mention mandatory variable CSF_ShadersDirectory in porting notes for OCCT 6.9.0 Test cases for issue CR27432 Deleting test cases for issue CR27432
This commit is contained in:
@@ -60,7 +60,8 @@ Units_Sentence::Units_Sentence(const Handle(Units_Lexicon)& alexicon,
|
||||
|
||||
thesequenceoftokens = new Units_TokensSequence();
|
||||
Handle(Units_TokensSequence) lstlexicon=alexicon->Sequence();
|
||||
Units_NoSuchType_Raise_if(lstlexicon.IsNull(),"BAD LEXICON descriptor");
|
||||
if(lstlexicon.IsNull())
|
||||
Units_NoSuchType::Raise("BAD LEXICON descriptor");
|
||||
limchain=strlen(astring);
|
||||
i=0;
|
||||
|
||||
|
Reference in New Issue
Block a user