Kaydet (Commit) d5e4fe23 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

cid#1357163: 'Constant' variable guards dead code

...after 2f804099 "loplugin:constantparam in
framework"

Change-Id: Ife3ca1da7652ffc52ae2d6057712dcaa35ba2e06
üst ed7ad21a
......@@ -159,14 +159,10 @@ void SAL_CALL PropertySetHelper::setPropertyValue(const OUString& sProperty,
css::beans::Property aPropInfo = pIt->second;
bool bLocked = true;
css::uno::Any aCurrentValue = impl_getPropertyValue(aPropInfo.Name, aPropInfo.Handle);
if (! bLocked)
{
// SAFE ->
aWriteLock.reset();
}
// SAFE ->
aWriteLock.reset();
bool bWillBeChanged = (aCurrentValue != aValue);
if (! bWillBeChanged)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment