diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-04 13:16:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-04 13:38:30 +0200 |
commit | f493555623fb36bb51e78a4630483271ed36afe7 (patch) | |
tree | ddd107373aafbcbdd3f31a1fd5f4e53e7c073f59 /qadevOOo/tests/java/ifc/frame/_XStorable.java | |
parent | cebdd852165cd3080a4eee885dceadcc41173ef3 (diff) |
java: remove some casting in lib.TestParameters#getMSF
where the return value is always cast to XMultiServiceFactory,
so just do the cast in the method and avoid noise at the call sites.
Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
Diffstat (limited to 'qadevOOo/tests/java/ifc/frame/_XStorable.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/frame/_XStorable.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XStorable.java b/qadevOOo/tests/java/ifc/frame/_XStorable.java index 635826d4eec2..b3bf9f317c23 100644 --- a/qadevOOo/tests/java/ifc/frame/_XStorable.java +++ b/qadevOOo/tests/java/ifc/frame/_XStorable.java @@ -130,7 +130,7 @@ public class _XStorable extends MultiMethodTest { public void _storeAsURL() { // getting an url to store String url = utils.getOfficeTemp( - (XMultiServiceFactory)tParam.getMSF()); + tParam.getMSF()); if (url != null) { url += "xstorable.store.as.test"; @@ -158,7 +158,7 @@ public class _XStorable extends MultiMethodTest { public void _storeToURL() { // getting an url to store String url = utils.getOfficeTemp( - (XMultiServiceFactory)tParam.getMSF()); + tParam.getMSF()); if (url != null) { url += "xstorable.store.as.test"; |