diff options
author | rbuj <robert.buj@gmail.com> | 2014-07-29 21:38:00 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-07-30 06:50:39 +0000 |
commit | 3e9bddfe6879580353b712d61308852e637f2e3d (patch) | |
tree | ad2fbfb6a13a49d82b82825a0c19bcbf433807e7 /javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | |
parent | 192265720a0f83ceab58fe81a159df5f43a59bb5 (diff) |
javaunohelper: The assigned value is never used
Change-Id: Ia190a6784fceaf9607ba39f2ef9d5ea4151cfc16
Reviewed-on: https://gerrit.libreoffice.org/10624
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java')
-rw-r--r-- | javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java index 8163963447f9..c62b005c918c 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java @@ -494,7 +494,7 @@ XMultiPropertySet if ((prop.Attributes & PropertyAttribute.READONLY) == PropertyAttribute.READONLY) throw new com.sun.star.beans.PropertyVetoException(); // The value may be null only if MAYBEVOID attribute is set - boolean bVoidValue= false; + boolean bVoidValue; if (value instanceof Any) bVoidValue= ((Any) value).getObject() == null; else @@ -505,7 +505,7 @@ XMultiPropertySet throw new DisposedException("Component is already disposed"); //Check if the argument is allowed - boolean bValueOk= false; + boolean bValueOk; if (value instanceof Any) bValueOk= checkType(((Any) value).getObject()); else @@ -898,7 +898,7 @@ XMultiPropertySet for (int i= 0; i < nAffectedProps; i++) { // get the listener container for the property name - InterfaceContainer lc= null; + InterfaceContainer lc; if (bVetoable) lc= aVetoableLC.getContainer(arEvts[i].PropertyName); else |