Fix for fdo43460 Part XXIX getLength() to isEmpty()
Part XXIX Modules sax, scaddins, sccomp, scripting
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user