diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Drawing/Helper.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Drawing/Helper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Drawing/Helper.java b/odk/examples/DevelopersGuide/Drawing/Helper.java index a232e9418be4..a904675d9a95 100644 --- a/odk/examples/DevelopersGuide/Drawing/Helper.java +++ b/odk/examples/DevelopersGuide/Drawing/Helper.java @@ -47,7 +47,7 @@ public class Helper * A new connection is established and the service manger from the running * offic eis returned. */ - static public XComponentContext connect() + public static XComponentContext connect() throws Exception { // get the remote office component context @@ -62,7 +62,7 @@ public class Helper /** creates and instantiates new document */ - static public com.sun.star.lang.XComponent createDocument( + public static com.sun.star.lang.XComponent createDocument( com.sun.star.uno.XComponentContext xOfficeContext, String sURL, String sTargetFrame, int nSearchFlags, com.sun.star.beans.PropertyValue[] aArgs ) |