diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-26 14:20:50 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-12-30 10:56:15 +0100 |
commit | 18692cc1412bd7eca37d80d4345c0ae775d94ac5 (patch) | |
tree | 21d4445a80835fc86826d9adf098dedc76b9ff07 /framework/source/services/backingwindow.cxx | |
parent | EasyHack fdo#42454, remove code associated with unused icons (diff) | |
download | core-18692cc1412bd7eca37d80d4345c0ae775d94ac5.tar.gz core-18692cc1412bd7eca37d80d4345c0ae775d94ac5.zip |
Fix for fdo43460 Part XX getLength() to isEmpty()
Part XX
Module
framework
Diffstat (limited to 'framework/source/services/backingwindow.cxx')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index abc85eb1ee88..a28f80f41329 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -322,7 +322,7 @@ void BackingWindow::prepareRecentFileMenu() maRecentFiles.push_back( LoadRecentFile() ); maRecentFiles.back().aTargetURL = aURL; - sal_Int32 nArgs = aFilterOpt.getLength() ? 4 : 3; + sal_Int32 nArgs = aFilterOpt.isEmpty() ? 3 : 4; Sequence< PropertyValue >& rArgsList( maRecentFiles.back().aArgSeq ); rArgsList.realloc( nArgs ); @@ -330,7 +330,7 @@ void BackingWindow::prepareRecentFileMenu() rArgsList[nArgs].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FilterName" )); rArgsList[nArgs].Value = makeAny( aFilter ); - if( aFilterOpt.getLength() ) + if( !aFilterOpt.isEmpty() ) { nArgs--; rArgsList[nArgs].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FilterOptions" )); @@ -546,7 +546,7 @@ void BackingWindow::initControls() { comphelper::SequenceAsHashMap aEntryItems( *pNewMenu ); rtl::OUString sURL( aEntryItems.getUnpackedValueOrDefault( sURLKey, rtl::OUString() ) ); - if ( sURL.getLength() ) + if ( !sURL.isEmpty() ) aFileNewAppsAvailable.insert( sURL ); } |