throw InvalidDataFormatException if the file 'IND.DB' is not found in the OLE compound document file
This commit is contained in:
parent
3e795dbac7
commit
b63842ab15
@ -22,6 +22,9 @@ namespace UniversalEditor.Plugins.Genealogy.DataFormats.FamilyTreeMaker.Windows
|
||||
File IND_DB = fsom.Files["IND.DB"];
|
||||
File INDGROUPS = fsom.Files["QEDIT0.DB"];
|
||||
|
||||
if (IND_DB == null)
|
||||
throw new InvalidDataFormatException("IND.DB not found");
|
||||
|
||||
INDDBObjectModel objm = IND_DB.GetObjectModel<INDDBObjectModel>(new INDDBDataFormat());
|
||||
|
||||
int maxNameLength = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user