diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-18 13:51:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 10:15:18 +0200 |
commit | 93a85df24fc6520fd9d2a8b5209993348b4a35f4 (patch) | |
tree | b42bde938dfb148ad6aeccacae6e04659f467552 /qadevOOo | |
parent | 566f16a2fdb91b4d3b90f083e88fde6163c2a00c (diff) |
java: simplify if statement
found by CodePro
Change-Id: I5f7e5b75b0345a1d917638e57a7d8ad60efb1475
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java index 82e5ef90fb59..68de72114bb5 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsImporter.java @@ -191,11 +191,7 @@ public class XMLSettingsImporter extends TestCase { } logF.println("Property \"IsLayerMode\" after import is " + propValue); - if ( propValue.booleanValue() ) { - return true; - } else { - return false; - } + return propValue.booleanValue(); } }); |