diff options
Diffstat (limited to 'scripting/source/protocolhandler')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 2 |
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 ); |