File tree Expand file tree Collapse file tree
Src/Utilities/pcpatrflex/ToneParsFLExDll Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ private string GetAnaProperties(ParseMorph pMorph)
208208 case MoStemMsaTags . kClassId :
209209 var stemMsa = msa as IMoStemMsa ;
210210 sb . Append ( "RootPOS" ) ;
211- sb . Append ( stemMsa . PartOfSpeechRA . Hvo ) ;
211+ sb . Append ( ( stemMsa . PartOfSpeechRA != null ) ? stemMsa . PartOfSpeechRA . Hvo : 0 ) ;
212212 break ;
213213 case MoInflAffMsaTags . kClassId :
214214 break ;
Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ out ParseMorph morph
826826 // The LexEntry is a variant form and the (non-zero) index indicates
827827 // which set of LexEntryRefs it is for.
828828 ICmObject objForm ;
829- if (
829+ if ( String . IsNullOrEmpty ( formHvo ) ||
830830 ! cache . ServiceLocator
831831 . GetInstance < ICmObjectRepository > ( )
832832 . TryGetObject ( int . Parse ( formHvo ) , out objForm )
You can’t perform that action at this time.
0 commit comments