summaryrefslogtreecommitdiffstats
path: root/avmedia/source/viewer
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-09 14:00:09 -0200
committerStephan Bergmann <sbergman@redhat.com>2011-12-09 23:37:05 +0100
commitf43311dfb77342f0d003bee5336215f92500f15c (patch)
tree7f5ef6154f07850add2eb3f169508319f7e11889 /avmedia/source/viewer
parentrtf import: Check for the first run even when getting \par (diff)
downloadcore-f43311dfb77342f0d003bee5336215f92500f15c.tar.gz
core-f43311dfb77342f0d003bee5336215f92500f15c.zip
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.cxx8
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() );
}
// -------------------------------------------------------------------------