diff options
-rw-r--r-- | Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java | 3 |
1 files changed, 1 insertions, 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);
}
|