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 9ba128b42669..36b9bf9839ff 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 @@ -267,7 +267,7 @@ public class ScriptEditorForBeanShell implements ScriptEditor, ActionListener { } // Wraps long error messages - class NarrowOptionPane extends JOptionPane { + private static class NarrowOptionPane extends JOptionPane { private static final long serialVersionUID = 1L; public int getMaxCharactersPerLineCount() { return 100;