diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java index ac06c2f76bfc..4e89e744c1dc 100644 --- a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java @@ -68,8 +68,7 @@ public class ScRecentFunctionsObj extends TestCase { */ protected void cleanup( TestParameters tParam, PrintWriter log ) { log.println( " disposing xSheetDoc " ); - XComponent oComp = (XComponent) - UnoRuntime.queryInterface(XComponent.class, xSheetDoc) ; + XComponent oComp = UnoRuntime.queryInterface(XComponent.class, xSheetDoc) ; util.DesktopTools.closeDoc(oComp); } |