summaryrefslogtreecommitdiff
path: root/sal/workben
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 17:44:52 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 20:32:40 +0100
commitd2f57b6c1275e0e6ed7f214d471ddb84ecb1b4ad (patch)
tree1728c15960c67ec9cc322e83ed37e0dc8e1f51b6 /sal/workben
parenta2454a42ad2236f0f6b88be166bc7e6a8f90f036 (diff)
fdo#43460: use isEmpty()
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
Diffstat (limited to 'sal/workben')
-rw-r--r--sal/workben/testfile.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sal/workben/testfile.cxx b/sal/workben/testfile.cxx
index a670f7b7d1d2..473e25a4ddf8 100644
--- a/sal/workben/testfile.cxx
+++ b/sal/workben/testfile.cxx
@@ -2152,7 +2152,7 @@ void ConvertPathTest(rtl::OUString& strPath)
// getFileURLFromSystemPath
//--------------------------------------------------
- if ( strNormPath.getLength() != 0 )
+ if ( !strNormPath.isEmpty() )
{
rc=FileBase::getFileURLFromSystemPath( strNormPath, strFileURL );
@@ -2172,7 +2172,7 @@ void ConvertPathTest(rtl::OUString& strPath)
// getNormalizedPathFromFileURL
//--------------------------------------------------
- if ( strFileURL.getLength() != 0 )
+ if ( !strFileURL.isEmpty() )
{
rc=FileBase::getSystemPathFromFileURL( strFileURL, strNormPathFromFileURL );
@@ -2193,7 +2193,7 @@ void ConvertPathTest(rtl::OUString& strPath)
// getSystemPathFromFileURL
//--------------------------------------------------
- if ( strNormPath.getLength() != 0 )
+ if ( !strNormPath.isEmpty() )
{
rc=FileBase::getSystemPathFromFileURL( strNormPath, strSystemPath );
@@ -2331,7 +2331,7 @@ void SearchPathTest(void)
// searchFileURL (with a normalized path)
//--------------------------------------------------
- if ( strNormPath.getLength() != 0 )
+ if ( !strNormPath.isEmpty() )
{
printf( "\nSearch-Normalized-Path (with a normalized path) : ");
printFileName ( strNormPath );
@@ -2355,7 +2355,7 @@ void SearchPathTest(void)
// searchFileURL (with a File-URL)
//--------------------------------------------------
- if ( strFileURL.getLength() != 0 )
+ if ( !strFileURL.isEmpty() )
{
printf( "\nSearch-Normalized-Path (with a FileURL) : ");
printFileName( strFileURL );
@@ -2379,7 +2379,7 @@ void SearchPathTest(void)
// searchFileURL (with a systempath)
//--------------------------------------------------
- if ( strSystemPath.getLength() != 0 )
+ if ( !strSystemPath.isEmpty() )
{
printf( "\nSearch-Normalized-Path (with a SystemPath) : ");
printFileName( strSystemPath );