summaryrefslogtreecommitdiff
path: root/fileaccess
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-23 18:23:14 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-26 14:05:06 +0400
commite7bddf732798508e347221590110486e97bb45e6 (patch)
tree5b37f87e2683d758ae9429215fa9cdec26a40b4a /fileaccess
parentecf24119aeb5e25cf0f862b8af2070488cc57908 (diff)
Fix for fdo43460 Part XVII getLength() to isEmpty()
Part XVII Module fileaccess and filter
Diffstat (limited to 'fileaccess')
-rw-r--r--fileaccess/source/FileAccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx
index 15867f8e24fa..58521835dbcf 100644
--- a/fileaccess/source/FileAccess.cxx
+++ b/fileaccess/source/FileAccess.cxx
@@ -425,7 +425,7 @@ void OFileAccess::createFolder( const rtl::OUString& NewFolderURL )
throw(CommandAbortedException, Exception, RuntimeException)
{
// Does the folder already exist?
- if( !NewFolderURL.getLength() || isFolder( NewFolderURL ) )
+ if( NewFolderURL.isEmpty() || isFolder( NewFolderURL ) )
return;
// SfxContentHelper::MakeFolder