mirror of https://github.com/acidanthera/audk.git
update SpdFileContents.java to adapt new schema for LibraryClassDeclaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@386 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
437f567c6e
commit
b4b11851ae
|
@ -601,8 +601,7 @@ public class SpdFileContents {
|
|||
@param parent The tag under which library class declaration goes to
|
||||
**/
|
||||
public void setSpdLibraryClass(String clsName, String clsUsage, XmlObject parent) {
|
||||
LibraryClassDocument.LibraryClass lc = ((LibraryClassDeclarationDocument.LibraryClassDeclaration) parent)
|
||||
.addNewLibraryClass();
|
||||
LibraryClassDeclarationDocument.LibraryClassDeclaration.LibraryClass lc = ((LibraryClassDeclarationDocument.LibraryClassDeclaration) parent).addNewLibraryClass();
|
||||
lc.setStringValue(clsName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue