diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 14:12:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 08:17:34 +0200 |
commit | 4ca9e8fa3a040c18221c947a651469a89029282e (patch) | |
tree | 5796a4f3112e84a5954c8bece98aea8c083673b4 /sal/qa | |
parent | 44cfdda29b3bcd0b583645238cd0211e93390c95 (diff) |
remove unused Exist from oslCheckMode enum
Change-Id: I1ad187342444c5e92b61578d2a67cce2ae5ac428
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 1cffa3010ea7..b55e49ab7178 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -297,7 +297,6 @@ inline void deleteTestDirectory( const ::rtl::OUString& basename, const ::rtl::O /** Check for the file and directory access right. */ enum class oslCheckMode { - Exist, OpenAccess, ReadAccess, WriteAccess @@ -345,10 +344,6 @@ inline bool checkDirectory( const ::rtl::OUString & str, oslCheckMode nCheckMode if ( ( ::osl::FileBase::E_NOENT != rc ) && ( ::osl::FileBase::E_ACCES != rc ) ){ switch ( nCheckMode ) { - case oslCheckMode::Exist: - if ( rc == ::osl::FileBase::E_None ) - bCheckResult = true; - break; case oslCheckMode::OpenAccess: if ( rc == ::osl::FileBase::E_None ) bCheckResult = true; |