From b4b11851aec61b948101d814a6329052940e98dc Mon Sep 17 00:00:00 2001 From: jlin16 Date: Fri, 2 Jun 2006 03:39:44 +0000 Subject: [PATCH] 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 --- .../src/org/tianocore/packaging/SpdFileContents.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java b/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java index e165656b92..17a5a0cdb7 100644 --- a/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java +++ b/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java @@ -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); }