summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/dlg/CollectionView.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-19 18:10:37 -0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-21 09:52:48 +0100
commit545921f914ec172bcd6712cce54847131a49afb6 (patch)
tree92dde2ebc7c4d70240e4967b11526e73fef10b16 /dbaccess/source/ui/dlg/CollectionView.cxx
parentFix for fdo43460 Part XIII getLength() to isEmpty() (diff)
downloadcore-545921f914ec172bcd6712cce54847131a49afb6.tar.gz
core-545921f914ec172bcd6712cce54847131a49afb6.zip
Fix for fdo43460 Part XII getLength() to isEmpty()
Part XII Module dbaccess
Diffstat (limited to 'dbaccess/source/ui/dlg/CollectionView.cxx')
-rw-r--r--dbaccess/source/ui/dlg/CollectionView.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx
index 23e47627f066..8370e39b6516 100644
--- a/dbaccess/source/ui/dlg/CollectionView.cxx
+++ b/dbaccess/source/ui/dlg/CollectionView.cxx
@@ -127,7 +127,7 @@ Reference< XContent> OCollectionView::getSelectedFolder() const
IMPL_LINK( OCollectionView, Save_Click, PushButton*, EMPTYARG )
{
::rtl::OUString sName = m_aName.GetText();
- if ( !sName.getLength() )
+ if ( sName.isEmpty() )
return 0;
try
{
@@ -155,7 +155,7 @@ IMPL_LINK( OCollectionView, Save_Click, PushButton*, EMPTYARG )
sName = sName.copy(nIndex);
Reference<XHierarchicalNameContainer> xHier(m_xContent,UNO_QUERY);
OSL_ENSURE(xHier.is(),"XHierarchicalNameContainer not supported!");
- if ( sSubFolder.getLength() && xHier.is() )
+ if ( !sSubFolder.isEmpty() && xHier.is() )
{
if ( xHier->hasByHierarchicalName(sSubFolder) )
{
@@ -275,7 +275,7 @@ IMPL_LINK( OCollectionView, Dbl_Click_FileView, SvtFileView*, EMPTYARG )
::rtl::OUString sSubFolder = m_aView.GetCurrentURL();
sal_Int32 nIndex = sSubFolder.lastIndexOf('/') + 1;
sSubFolder = sSubFolder.getToken(0,'/',nIndex);
- if ( sSubFolder.getLength() )
+ if ( !sSubFolder.isEmpty() )
{
Reference< XContent> xContent;
if ( xNameAccess->hasByName(sSubFolder) )