diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-14 14:04:07 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-06-14 14:04:07 +0200 |
commit | 4d8cccbdacc58ee2def5cc38a4ef92734414aac2 (patch) | |
tree | 61683669576367bb3d60dd9f34417d539feff3af /ucb | |
parent | b226928c6d5d094359b970b64a063b243d4fc84c (diff) |
cppcheck: redundantCondition [part2]
Change-Id: I23e8a4834fa7858adb292ce0a4dfa5dab1ab5f00
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontent.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index ec74be984cd7..8df17d3e5102 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2296,7 +2296,7 @@ void Content::insert( */ // ==> Complain on PUT, continue on MKCOL. - if ( !bTransient || ( bTransient && !bCollection ) ) + if ( !bTransient || !bCollection ) { ucb::UnsupportedNameClashException aEx( OUString( "Unable to write without overwrite!" ), diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index 70f84047aa7c..d74cc7ced9ae 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -2443,7 +2443,7 @@ void Content::insert( */ // ==> Complain on PUT, continue on MKCOL. - if ( !bTransient || ( bTransient && !bCollection ) ) + if ( !bTransient || !bCollection ) { #undef ERROR ucb::UnsupportedNameClashException aEx( |