diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-09 14:00:09 -0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-12-09 23:37:05 +0100 |
commit | f43311dfb77342f0d003bee5336215f92500f15c (patch) | |
tree | 7f5ef6154f07850add2eb3f169508319f7e11889 /avmedia/source/viewer | |
parent | 1d1f049859e080b403c743f7e0604bd72475a824 (diff) |
Fix for fdo43460, Part I, getLength to isEmpty
Part I
Modules
unoControl, accessibility and avmedia
Diffstat (limited to 'avmedia/source/viewer')
-rw-r--r-- | avmedia/source/viewer/mediawindow.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx index 713e9e9058e8..e6c6c067e98e 100644 --- a/avmedia/source/viewer/mediawindow.cxx +++ b/avmedia/source/viewer/mediawindow.cxx @@ -274,7 +274,7 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent */, { for( sal_Int32 nIndex = 0; nIndex >= 0; ) { - if( aAllTypes.getLength() ) + if( !aAllTypes.isEmpty() ) aAllTypes += aSeparator; ( aAllTypes += aWildcard ) += aFilters[ i ].second.getToken( 0, ';', nIndex ); @@ -290,7 +290,7 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent */, for( sal_Int32 nIndex = 0; nIndex >= 0; ) { - if( aTypes.getLength() ) + if( !aTypes.isEmpty() ) aTypes += aSeparator; ( aTypes += aWildcard ) += aFilters[ i ].second.getToken( 0, ';', nIndex ); @@ -334,10 +334,10 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent */, } } } - else if( rURL.getLength() ) + else if( !rURL.isEmpty() ) rURL = ::rtl::OUString(); - return( rURL.getLength() > 0 ); + return( !rURL.isEmpty() ); } // ------------------------------------------------------------------------- |