summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
index c43200744e15..c832e6ed691f 100644
--- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
+++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
@@ -344,6 +344,9 @@ public class ScriptEditorForBeanShell implements ScriptEditor, ActionListener {
if (fos != null) {
try {
fos.flush();
+ } catch (IOException ignore) {
+ }
+ try {
fos.close();
} catch (IOException ignore) {
}