diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/UCB/Helper.java')
-rw-r--r-- | odk/examples/DevelopersGuide/UCB/Helper.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/odk/examples/DevelopersGuide/UCB/Helper.java b/odk/examples/DevelopersGuide/UCB/Helper.java index ea5f5536365b..dbba9156f4eb 100644 --- a/odk/examples/DevelopersGuide/UCB/Helper.java +++ b/odk/examples/DevelopersGuide/UCB/Helper.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ import java.util.Vector; @@ -70,7 +70,7 @@ public class Helper { * * @exception java.lang.Exception */ - public Helper(String url) throws java.lang.Exception { + public Helper(String url) throws java.lang.Exception { m_contenturl = url; if (null == m_xContext ) { @@ -78,7 +78,7 @@ public class Helper { m_xContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); System.out.println("Connected to a running office ..."); } - + XMultiComponentFactory xMCF = m_xContext.getServiceManager(); m_ucb = (XInterface)UnoRuntime.queryInterface(XInterface.class, @@ -121,7 +121,7 @@ public class Helper { } return content; } - + /** * Get ucb instance. * @@ -191,9 +191,9 @@ public class Helper { { e.printStackTrace(); } - return new String(); + return new String(); } - + public static String prependCurrentDirAsAbsoluteFileURL( String relativeURL ) { // get url of current dir. |