summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Drawing/Helper.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Drawing/Helper.java')
-rw-r--r--odk/examples/DevelopersGuide/Drawing/Helper.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/Drawing/Helper.java b/odk/examples/DevelopersGuide/Drawing/Helper.java
index efd952ac0ce9..e9d316ee7ec2 100644
--- a/odk/examples/DevelopersGuide/Drawing/Helper.java
+++ b/odk/examples/DevelopersGuide/Drawing/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.
- *
+ *
*************************************************************************/
// __________ Imports __________
@@ -53,7 +53,7 @@ public class Helper
// if connection fails an exception is thrown
System.out.println("Connected to a running office ...");
-
+
return xOfficeContext;
}
@@ -75,7 +75,7 @@ public class Helper
xComponent = (com.sun.star.lang.XComponent)UnoRuntime.queryInterface(
com.sun.star.lang.XComponent.class, aLoader.loadComponentFromURL(
sURL, sTargetFrame, nSearchFlags, aArgs ) );
-
+
if ( xComponent == null )
throw new Exception( "could not create document: " + sURL );
return xComponent;