Fix for fdo43460 Part XII getLength() to isEmpty()

Part XII
Module
dbaccess
This commit is contained in:
Olivier Hallot
2011-12-19 18:10:37 -02:00
committed by Cédric Bosdonnat
parent 1835d0599e
commit 545921f914
121 changed files with 436 additions and 436 deletions

View File

@@ -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" );