INTEGRATION: CWS sb88 (1.13.10); FILE MERGED

2008/06/03 15:29:48 sb 1.13.10.1: #i89553 applied patch by cmc
This commit is contained in:
Rüdiger Timm
2008-06-16 12:41:10 +00:00
parent 9746e8f40e
commit e3b943fe76

View File

@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: filehelper.hxx,v $ * $RCSfile: filehelper.hxx,v $
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
@@ -50,9 +50,6 @@ namespace configmgr
/// delimiter used in URLs and ConfPath /// delimiter used in URLs and ConfPath
static const ::sal_Unicode delimiter = sal_Unicode('/'); static const ::sal_Unicode delimiter = sal_Unicode('/');
/// string representation of the delimiter
const rtl::OUString& delimiterAsString();
/// Tests if the file exists. /// Tests if the file exists.
bool fileExists(rtl::OUString const& _sFileURL); bool fileExists(rtl::OUString const& _sFileURL);
@@ -101,10 +98,6 @@ namespace configmgr
*/ */
void replaceFile(const rtl::OUString& _aToURL, const rtl::OUString &_aFromURL) CFG_THROW1(io::IOException); void replaceFile(const rtl::OUString& _aToURL, const rtl::OUString &_aFromURL) CFG_THROW1(io::IOException);
/** removes a file specified by _aURL. Ignores the case of a non-existing file.
*/
void removeFile(const rtl::OUString& _aURL) CFG_THROW1(io::IOException);
/** removes a file specified by _aURL. Ignores the case of a non-existing file. /** removes a file specified by _aURL. Ignores the case of a non-existing file.
*/ */
bool tryToRemoveFile(const rtl::OUString& _aURL, bool tryBackupFirst); bool tryToRemoveFile(const rtl::OUString& _aURL, bool tryBackupFirst);
@@ -113,11 +106,6 @@ namespace configmgr
*/ */
rtl::OUString createOSLErrorString(osl::FileBase::RC eError); rtl::OUString createOSLErrorString(osl::FileBase::RC eError);
/** determines the modification time of a directory entry specified by a URL.
@return the TimeValue of the last modification, if the file exists, otherwise a TimeValue(0,0).
*/
TimeValue getModifyTime(rtl::OUString const& _aNormalizedFilename);
/** determines the status of a directory entry specified by a URL. /** determines the status of a directory entry specified by a URL.
@return the Size of the file in bytes and the TimeValue of the last modification, if the file exists, @return the Size of the file in bytes and the TimeValue of the last modification, if the file exists,
otherwise 0 and a TimeValue(0,0). otherwise 0 and a TimeValue(0,0).