[Libreoffice-commits] core.git: ucb/source
Stephan Bergmann
sbergman at redhat.com
Thu Mar 3 14:56:44 UTC 2016
ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b0cda1b0b6245e43ad9721cf756ab2a6fdc01b38
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Mar 3 15:56:21 2016 +0100
loplugin:stringconstant
Change-Id: I1a594a3d62790125244d221aeaa6d989adf30d97
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 516797e..76a4c0a 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -146,7 +146,7 @@ static bool noKeepAlive( const uno::Sequence< beans::NamedValue >& rFlags )
const sal_Int32 nLen(rFlags.getLength());
const beans::NamedValue* pValue(
std::find_if(pAry,pAry+nLen,
- [] (beans::NamedValue const& rNV) { return rNV.Name == OUString("KeepAlive"); } ));
+ [] (beans::NamedValue const& rNV) { return rNV.Name == "KeepAlive"; } ));
if ( pValue != pAry+nLen && !pValue->Value.get<sal_Bool>() )
return true;
More information about the Libreoffice-commits
mailing list