Use isEmpty().
Change-Id: I0b2a30384cbbe3f05d25968c4e7e19e84c23e267
This commit is contained in:
parent
c0843153a7
commit
5ad86ef1ca
1 changed files with 1 additions and 1 deletions
|
@ -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" ;
|
||||
|
|
Loading…
Reference in a new issue