summaryrefslogtreecommitdiff
path: root/cui/source/customize/selector.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-16 17:29:07 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-20 19:28:37 +0400
commit1375183d465fb17db513dfe16ac522e48573a4c0 (patch)
tree149a5335e02bd92c33201cc49a4c85c390969e46 /cui/source/customize/selector.cxx
parent170d75c3f58e500bda864bf7b7aeefd06716a0a6 (diff)
Fix for fdo43460 Part XI getLength() to isEmpty()
Part XI Module cui
Diffstat (limited to 'cui/source/customize/selector.cxx')
-rw-r--r--cui/source/customize/selector.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 2e9cd2539a93..d5beb563da30 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -470,7 +470,7 @@ void SvxConfigGroupListBox_Impl::Init()
Reference< container::XNameAccess > xModuleCategories;
if ( xAllCategories.is() )
{
- if ( aModuleId.getLength() != 0 )
+ if ( !aModuleId.isEmpty() )
{
try
{
@@ -629,7 +629,7 @@ Image SvxConfigGroupListBox_Impl::GetImage(
}
}
}
- if( factoryURL.getLength() > 0 )
+ if( !factoryURL.isEmpty() )
{
aImage = SvFileInformationManager::GetFileImage( INetURLObject(factoryURL), false );
}
@@ -720,7 +720,7 @@ void SvxConfigGroupListBox_Impl::GroupSelected()
for ( sal_Int32 i = 0; i < commands.getLength(); ++i )
{
- if ( commands[i].Command.getLength() == 0 )
+ if ( commands[i].Command.isEmpty() )
{
continue;
}
@@ -756,7 +756,7 @@ void SvxConfigGroupListBox_Impl::GroupSelected()
{
}
- if ( aLabel.getLength() == 0 )
+ if ( aLabel.isEmpty() )
{
aLabel = commands[i].Command;
}
@@ -1072,7 +1072,7 @@ void
SvxScriptSelectorDialog::UpdateUI()
{
OUString url = GetScriptURL();
- if ( url != NULL && url.getLength() != 0 )
+ if ( url != NULL && !url.isEmpty() )
{
String rMessage =
aCommands.GetHelpText( aCommands.FirstSelected() );