diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-09 15:09:18 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-12-10 08:04:58 +0000 |
commit | 9adb820158bdbfa0a34d843d4eb4c35963f00ac5 (patch) | |
tree | 735f90282e16ef9f5f88608c53e615c678d28010 /forms/qa | |
parent | dd6c337d83eb21f7b4e2a1c755150f2e4c799fb7 (diff) |
java: simplify the getMSF() methods
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3
Reviewed-on: https://gerrit.libreoffice.org/13406
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms/qa')
-rw-r--r-- | forms/qa/complex/forms/CheckOGroupBoxModel.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java index 03eb496d8914..3c53c3498745 100644 --- a/forms/qa/complex/forms/CheckOGroupBoxModel.java +++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java @@ -177,8 +177,7 @@ public class CheckOGroupBoxModel private XMultiServiceFactory getMSF() { - final XMultiServiceFactory xMSF1 = UnoRuntime.queryInterface(XMultiServiceFactory.class, connection.getComponentContext().getServiceManager()); - return xMSF1; + return UnoRuntime.queryInterface(XMultiServiceFactory.class, connection.getComponentContext().getServiceManager()); } // setup and close connections |