commit | 085be172487ac295044f0533b3b3b5cd9e699977 | [log] [tgz] |
---|---|---|
author | klow <klow> | Wed Jul 16 00:21:53 2008 +0000 |
committer | klow <klow> | Wed Jul 16 00:21:53 2008 +0000 |
tree | 553bdeda2fb450f68acdcacb074acb347f9eee4b | |
parent | e5cdcd3af5d823245346e7b0a7d28db8434b53c8 [diff] |
wlu: 240771 fix
diff --git a/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/command/MoveInSectionListCommand.java b/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/command/MoveInSectionListCommand.java index 28f6c51..c5e3ecd 100644 --- a/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/command/MoveInSectionListCommand.java +++ b/1.5/plugins/org.eclipse.epf.library.edit/src/org/eclipse/epf/library/edit/command/MoveInSectionListCommand.java
@@ -96,7 +96,9 @@ * @see com.ibm.library.edit.command.IResourceAwareCommand#getModifiedResources() */ public Collection getModifiedResources() { - modifiedResources.add(contentElement.eResource()); + if (contentElement.getPresentation() != null) { + modifiedResources.add(contentElement.getPresentation().eResource()); + } return modifiedResources; }