[Libreoffice-commits] .: basctl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 15 04:29:36 PDT 2012
basctl/source/basicide/basobj3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5ad86ef1caaa029b8c95273528afeb724fa6582d
Author: Jan Holesovsky <kendy at suse.cz>
Date: Mon Oct 15 11:00:28 2012 +0200
Use isEmpty().
Change-Id: I0b2a30384cbbe3f05d25968c4e7e19e84c23e267
diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx
index 7850b95..f0aa0ba 100644
--- a/basctl/source/basicide/basobj3.cxx
+++ b/basctl/source/basicide/basobj3.cxx
@@ -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" ;
More information about the Libreoffice-commits
mailing list