diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2010-11-20 16:45:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-20 16:45:27 +0000 |
commit | 88118c8a4e3d62a1c5ff2c8f4acc91d99e0ce357 (patch) | |
tree | 804d655e22cf24343e3f53eb3ab4d0d9a4bdeafd /fileaccess/source/FileAccess.cxx | |
parent | c44fdc7a1f6d787bb8eea8c39c10b97f70012dc2 (diff) |
RTL_CONSTASCII_USTRINGPARAM improvements
Diffstat (limited to 'fileaccess/source/FileAccess.cxx')
-rw-r--r-- | fileaccess/source/FileAccess.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx index 860df5ba6ad1..4242d41066df 100644 --- a/fileaccess/source/FileAccess.cxx +++ b/fileaccess/source/FileAccess.cxx @@ -537,9 +537,6 @@ Sequence< rtl::OUString > OFileAccess::getFolderContents( const rtl::OUString& F ucbhelper::Content aCnt( aFolderObj.GetMainURL( INetURLObject::NO_DECODE ), mxEnvironment ); Reference< XResultSet > xResultSet; Sequence< rtl::OUString > aProps(0); - //Sequence< rtl::OUString > aProps(1); - //rtl::OUString* pProps = aProps.getArray(); - //pProps[0] == rtl::OUString::createFromAscii( "Url" ); ucbhelper::ResultSetInclude eInclude = bIncludeFolders ? ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS : ucbhelper::INCLUDE_DOCUMENTS_ONLY; @@ -858,7 +855,7 @@ Sequence< rtl::OUString > FileAccess_getSupportedServiceNames() if( !pNames ) { static Sequence< rtl::OUString > seqNames(1); - seqNames.getArray()[0] = rtl::OUString::createFromAscii( SERVICE_NAME ); + seqNames.getArray()[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME )); pNames = &seqNames; } } |