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

Part XXIX
Modules
sax, scaddins, sccomp, scripting
This commit is contained in:
Olivier Hallot
2012-01-05 14:15:36 -02:00
parent 15f5d76683
commit fffd541c3e
17 changed files with 35 additions and 35 deletions

View File

@@ -396,8 +396,8 @@ eventMethodToDescriptor( const ::rtl::OUString& rEventMethod, ScriptEventDescrip
// Only create an ScriptEventDescriptor for an event we can translate
// or emulate
if ( sMethodName.getLength()
&& sTypeName.getLength()
if ( !sMethodName.isEmpty()
&& !sTypeName.isEmpty()
&& ( infos.find( sMethodName ) != infos.end() ) )
{
// just fill in CodeName, when the event fires the other