Fix for fdo43460 Part XII getLength() to isEmpty()
Part XII Module dbaccess
This commit is contained in:
committed by
Cédric Bosdonnat
parent
1835d0599e
commit
545921f914
@@ -194,7 +194,7 @@ namespace dbaccess
|
||||
( sEventType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Script" ) )
|
||||
|| sEventType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Service" ) )
|
||||
);
|
||||
bool bNonEmptyScript = sScript.getLength() != 0;
|
||||
bool bNonEmptyScript = !sScript.isEmpty();
|
||||
|
||||
OSL_ENSURE( bDispatchScriptURL && bNonEmptyScript,
|
||||
"DocumentEventExecutor::documentEventOccurred: invalid/unsupported script descriptor" );
|
||||
|
Reference in New Issue
Block a user