remove unused Exist from oslCheckMode enum
Change-Id: I1ad187342444c5e92b61578d2a67cce2ae5ac428
This commit is contained in:
@@ -163,6 +163,7 @@ for d in definitionSet:
|
||||
"vcl/inc/unx/XIM.h",
|
||||
"vcl/unx/gtk/xid_fullscreen_on_all_monitors.c",
|
||||
"vcl/unx/gtk/salnativewidgets-gtk.cxx",
|
||||
"sc/inc/callform.hxx", # ParamType
|
||||
]):
|
||||
continue
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user