summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-04 08:54:40 +0200
committerNoel Grandin <noel@peralex.com>2014-06-04 11:52:31 +0200
commitadc20c3937f3119d39af5a0c8e4a439d8127fe63 (patch)
tree8722ff80bf1cc00e8d099a87767e2290aaab0aa4 /scripting
parent06a09dd0ad1e8afcf69e877501036e068d477438 (diff)
compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/protocolhandler/scripthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx
index 79c6ffb99b6e..b5760b613bc9 100644
--- a/scripting/source/protocolhandler/scripthandler.cxx
+++ b/scripting/source/protocolhandler/scripthandler.cxx
@@ -203,7 +203,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
// Sometimes we get a propertyval with name = "Referer"
// this is not an argument to be passed to script, so
// ignore.
- if ( lArgs[ index ].Name.compareToAscii("Referer") != 0 ||
+ if ( !lArgs[ index ].Name.equalsAscii("Referer") ||
lArgs[ index ].Name.isEmpty() )
{
inArgs.realloc( ++argCount );