diff options
author | Noel Grandin <noel@peralex.com> | 2017-01-16 16:41:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 06:42:52 +0000 |
commit | 10cb59eb914ba722c203242272de244d795a51e8 (patch) | |
tree | e5f6e613bb2adbc3862ca7542ba2544c7c3d3e26 /unotest | |
parent | 2b458b67ebc3c3291f003f667480a1ccf376637d (diff) |
remove some unused Java code
Change-Id: Ia1663256fc0b92c343ea4ba55a821c969077a0aa
Reviewed-on: https://gerrit.libreoffice.org/33174
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/java/org/openoffice/test/tools/OfficeDocument.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java index 9f18a6e986fe..bd996c01153e 100644 --- a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java +++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java @@ -192,15 +192,6 @@ public class OfficeDocument return UnoRuntime.queryInterface( i_interfaceClass, createInstance( i_serviceSpecifier ) ); } - /* ------------------------------------------------------------------ */ - /** creates a component at the service factory provided by the document - */ - public XInterface createInstanceWithArguments( String serviceSpecifier, Object[] arguments ) throws com.sun.star.uno.Exception - { - XMultiServiceFactory xORB = UnoRuntime.queryInterface( XMultiServiceFactory.class, m_documentComponent ); - return (XInterface) xORB.createInstanceWithArguments( serviceSpecifier, arguments ); - } - private final XMultiServiceFactory m_orb; private XComponent m_documentComponent; } |