summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon/NeonSession.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-neon/NeonSession.cxx')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 8f6a625ccfee..6e808ebe07d2 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -150,10 +150,7 @@ static bool noKeepAlive( const uno::Sequence< beans::NamedValue >& rFlags )
const beans::NamedValue* pValue(
std::find_if(pAry,pAry+nLen,
[] (beans::NamedValue const& rNV) { return rNV.Name == "KeepAlive"; } ));
- if ( pValue != pAry+nLen && !pValue->Value.get<bool>() )
- return true;
-
- return false;
+ return pValue != pAry+nLen && !pValue->Value.get<bool>();
}
struct NeonRequestContext