summaryrefslogtreecommitdiff
path: root/scripting/source/dlgprov
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:15:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:15:16 +0100
commitfe17eb9448f6da0e8fab6aca02f49c7cf597e2b0 (patch)
treeff95ed705950b9afe54828761c71f065348b7773 /scripting/source/dlgprov
parent0d58e6723973211fb57d18dc8aef65510c1f965e (diff)
scripting: Use appropriate OUString functions on string constants
Change-Id: I8ee8eb92ac95937893c894e67882e9df2c16a67d
Diffstat (limited to 'scripting/source/dlgprov')
-rw-r--r--scripting/source/dlgprov/dlgevtatt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx
index 30ac109cf683..62f880393d85 100644
--- a/scripting/source/dlgprov/dlgevtatt.cxx
+++ b/scripting/source/dlgprov/dlgevtatt.cxx
@@ -527,7 +527,7 @@ namespace dlgprov
OUString sScriptURL;
OUString sScriptCode( aScriptEvent.ScriptCode );
- if ( aScriptEvent.ScriptType.equalsAscii( "StarBasic" ) )
+ if ( aScriptEvent.ScriptType == "StarBasic" )
{
// StarBasic script: convert ScriptCode to scriptURL
sal_Int32 nIndex = sScriptCode.indexOf( ':' );