diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-22 11:12:12 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-22 11:12:33 +0100 |
commit | 1443a9f7abce965d1ca3ccf0a8f92562ebf82c07 (patch) | |
tree | c753e7c1cd9ec33b2dbeaa9defafcdd1b3355b8a /scripting/java/com | |
parent | 45739fad0b1d55e72cc1ed508b8ea33a74219290 (diff) |
[Uu]sefull -> [Uu]seful
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
Diffstat (limited to 'scripting/java/com')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java index ea23768e75e6..f033ffdf1dd5 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java @@ -318,20 +318,20 @@ class ScriptImpl implements XScript { LogUtils.DEBUG("Beanshell error RAW message " + e.getMessage()); String message = e.getMessage(); - int usefullInfoIndex = message.lastIndexOf("\' :" ); + int usefulInfoIndex = message.lastIndexOf("\' :" ); int lineNum = e.getErrorLineNumber(); raiseEditor( lineNum ); //String stackTrace = te.getScriptStackTrace(); // never seems to have any info?? - if ( usefullInfoIndex > -1 ) + if ( usefulInfoIndex > -1 ) { - message = message.substring( usefullInfoIndex + 2 ); + message = message.substring( usefulInfoIndex + 2 ); } if ( e instanceof bsh.TargetError ) { LogUtils.DEBUG("got instance of TargetError"); - if ( usefullInfoIndex == -1 ) + if ( usefulInfoIndex == -1 ) { message = ( ( bsh.TargetError)e ).getTarget().getMessage(); } |