scripting: The if statement is redundant
Change-Id: Ia6186be4ed48fd75d1063eed233a88e09b675bf1 Reviewed-on: https://gerrit.libreoffice.org/11774 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
This commit is contained in:
committed by
Samuel Mehrbrodt
parent
e02c37866b
commit
4959ff5fef
@@ -210,10 +210,7 @@ public class SecurityDialog extends WeakBase implements XComponent,
|
||||
|
||||
// XServiceInfo
|
||||
public boolean supportsService(/*IN*/String serviceName) {
|
||||
if (serviceName.equals(__serviceName))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return serviceName.equals(__serviceName);
|
||||
}
|
||||
|
||||
// XServiceInfo
|
||||
|
||||
Reference in New Issue
Block a user