Use isEmpty().

Change-Id: I0b2a30384cbbe3f05d25968c4e7e19e84c23e267
This commit is contained in:
Jan Holesovsky 2012-10-15 11:00:28 +02:00
parent c0843153a7
commit 5ad86ef1ca

View file

@ -84,7 +84,7 @@ SbMethod* CreateMacro( SbModule* pModule, const String& rMacroName )
return 0;
OUString aMacroName( rMacroName );
if ( aMacroName.getLength() == 0 )
if ( aMacroName.isEmpty() )
{
if ( !pModule->GetMethods()->Count() )
aMacroName = "Main" ;