diff options
Diffstat (limited to 'qadevOOo/runner/basicrunner/basichelper/DispatchProviderInterceptor.java')
-rw-r--r-- | qadevOOo/runner/basicrunner/basichelper/DispatchProviderInterceptor.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/qadevOOo/runner/basicrunner/basichelper/DispatchProviderInterceptor.java b/qadevOOo/runner/basicrunner/basichelper/DispatchProviderInterceptor.java index f50a7d2eb470..257120aca299 100644 --- a/qadevOOo/runner/basicrunner/basichelper/DispatchProviderInterceptor.java +++ b/qadevOOo/runner/basicrunner/basichelper/DispatchProviderInterceptor.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,23 +41,23 @@ import com.sun.star.util.URL; * @see com.sun.star.lang.XSingleServiceFactory * @see com.sun.star.lang.XServiceInfo */ -public class DispatchProviderInterceptor implements XServiceInfo, +public class DispatchProviderInterceptor implements XServiceInfo, XSingleServiceFactory { - /** The service name **/ - static final String __serviceName = + /** The service name **/ + static final String __serviceName = "basichelper.DispatchProviderInterceptor"; - /** Create an instance of the interceptor + /** Create an instance of the interceptor * Arguments are not supported here, so they will be ignored. * @param args The arguments. - * @return A new instance of the interceptor. + * @return A new instance of the interceptor. **/ public Object createInstanceWithArguments(Object[] args) { return new InterceptorImpl(); } - /** Create an instance of the interceptor - * @return A new instance of the interceptor. + /** Create an instance of the interceptor + * @return A new instance of the interceptor. **/ public Object createInstance() { return createInstanceWithArguments(null); @@ -111,13 +111,13 @@ public class DispatchProviderInterceptor implements XServiceInfo, /** * The actual implementation of the interceptor. - * @see com.sun.star.lang.XTypeProvider + * @see com.sun.star.lang.XTypeProvider * @see com.sun.star.frame.XDispatchProviderInterceptor * @see com.sun.star.frame.XDispatchProvider */ -class InterceptorImpl implements XDispatchProvider, +class InterceptorImpl implements XDispatchProvider, XDispatchProviderInterceptor, XTypeProvider { - + /** A master dispatch provider **/ public XDispatchProvider master = null; /** A slave dispatch provider **/ @@ -162,7 +162,7 @@ class InterceptorImpl implements XDispatchProvider, public XDispatch queryDispatch(URL url, String frame, int flags) { return master.queryDispatch(url, frame, flags) ; } - + /** * Query for an array of <type>XDispatch</type>. * @param desc A list of dipatch requests. |