summaryrefslogtreecommitdiff
path: root/fileaccess/source/FileAccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fileaccess/source/FileAccess.cxx')
-rw-r--r--fileaccess/source/FileAccess.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx
index 20798a32fbbc..d61c058258ac 100644
--- a/fileaccess/source/FileAccess.cxx
+++ b/fileaccess/source/FileAccess.cxx
@@ -461,8 +461,7 @@ void OFileAccess::createFolder( const rtl::OUString& NewFolderURL )
if ( rProps.getLength() != 1 )
continue;
- if ( !rProps[ 0 ].Name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM( "Title" ) ) )
+ if ( rProps[ 0 ].Name != "Title" )
continue;
Sequence<rtl::OUString> aNames(1);
@@ -735,8 +734,7 @@ bool OFileAccess::createNewFile( const rtl::OUString & rParentURL,
if ( rProps.getLength() != 1 )
continue;
- if ( !rProps[ 0 ].Name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM( "Title" ) ) )
+ if ( rProps[ 0 ].Name != "Title" )
continue;
Sequence<rtl::OUString> aNames(1);