summaryrefslogtreecommitdiff
path: root/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java')
-rw-r--r--scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java
index 5865f32c2803..cb51b982e7c4 100644
--- a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java
+++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataNode.java
@@ -55,7 +55,7 @@ public class ParcelDataNode extends DataNode {
boolean isCut = false;
public ParcelPasteType(ParcelDataNode sourceParcel,
- File targetDocument, boolean isCut) {
+ File targetDocument, boolean isCut) {
this.sourceParcel = sourceParcel;
this.targetDocument = targetDocument;
this.isCut = isCut;
@@ -68,13 +68,13 @@ public class ParcelDataNode extends DataNode {
if (isCut) {
FileObject fo = sourceParcel.getDataObject().getPrimaryFile();
+
try {
fo.delete();
- }
- catch (IOException ioe) {}
+ } catch (IOException ioe) {}
+
return ExTransferable.EMPTY;
- }
- else {
+ } else {
return null;
}
}