diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-10-15 11:00:28 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-10-15 13:29:12 +0200 |
commit | 5ad86ef1caaa029b8c95273528afeb724fa6582d (patch) | |
tree | 588d64ff21e7792bc958354d925dd7241c76fa8a /basctl/source | |
parent | c0843153a785ea2bd501491f599128aeb8a0ef68 (diff) |
Use isEmpty().
Change-Id: I0b2a30384cbbe3f05d25968c4e7e19e84c23e267
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basobj3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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" ; |