From 5ad86ef1caaa029b8c95273528afeb724fa6582d Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 15 Oct 2012 11:00:28 +0200 Subject: Use isEmpty(). Change-Id: I0b2a30384cbbe3f05d25968c4e7e19e84c23e267 --- basctl/source/basicide/basobj3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basctl') diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx index 7850b9597a68..f0aa0bac3b6b 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" ; -- cgit