summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filglob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filglob.cxx')
-rw-r--r--ucb/source/ucp/file/filglob.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index 83c6e2ca1a9c..04bf98cce9c0 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -571,9 +571,7 @@ namespace fileaccess {
excep.Message = "the name contained invalid characters";
if(isHandled)
throw excep;
- else {
- cancelCommandExecution( Any(excep), xEnv );
- }
+ cancelCommandExecution( Any(excep), xEnv );
// ioErrorCode = IOErrorCode_INVALID_CHARACTER;
// cancelCommandExecution(
// ioErrorCode,
@@ -591,9 +589,7 @@ namespace fileaccess {
excep.Message = "folder exists and overwrite forbidden";
if(isHandled)
throw excep;
- else {
- cancelCommandExecution( Any(excep), xEnv );
- }
+ cancelCommandExecution( Any(excep), xEnv );
// ioErrorCode = IOErrorCode_ALREADY_EXISTING;
// cancelCommandExecution(
// ioErrorCode,