summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-04 13:16:37 +0200
committerNoel Grandin <noel@peralex.com>2014-08-04 13:38:30 +0200
commitf493555623fb36bb51e78a4630483271ed36afe7 (patch)
treeddd107373aafbcbdd3f31a1fd5f4e53e7c073f59 /qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
parentcebdd852165cd3080a4eee885dceadcc41173ef3 (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/_XDispatchRecorder.java')
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
index b166288a4bb4..beff5a6f906e 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
@@ -74,7 +74,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
oObj.startRecording(xFrame);
log.println("dispatch calles via API must be recorded");
- dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
+ dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
prop.Name = "Text";
@@ -124,7 +124,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
oObj.startRecording(xFrame);
// positve test
- dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
+ dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
prop.Name = "Text";
@@ -155,7 +155,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
oObj.startRecording(xFrame);
- dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
+ dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
prop.Name = "Text";