scripting: Use appropriate OUString functions on string constants

Change-Id: I8ee8eb92ac95937893c894e67882e9df2c16a67d
This commit is contained in:
Stephan Bergmann
2014-12-15 10:15:16 +01:00
parent 0d58e67239
commit fe17eb9448
3 changed files with 7 additions and 7 deletions

View File

@@ -203,8 +203,8 @@ 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.equalsAscii("Referer") ||
lArgs[ index ].Name.isEmpty() )
if ( lArgs[ index ].Name != "Referer" ||
lArgs[ index ].Name.isEmpty() ) //TODO:???
{
inArgs.realloc( ++argCount );
inArgs[ argCount - 1 ] = lArgs[ index ].Value;