diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 15:47:36 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 15:47:36 +0000 |
commit | a3a1033813b992256735c15c465bac5611838f99 (patch) | |
tree | 961092f7a9487109d12b672c88730d321f4878a8 | |
parent | 46469ddcef7dede1916f8968e42481157f232923 (diff) |
INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
2004/10/20 13:42:03 jsc 1.3.124.1: #i35871# adapt for Java 5.0
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java index 3bc18b28f969..7fa0c69dabbb 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java @@ -2,9 +2,9 @@ * * $RCSfile: OneInstanceFactory.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2003-06-30 15:40:13 $ + * last change: $Author: rt $ $Date: 2005-01-31 16:47:36 $ * * The Contents of this file are made available subject to the terms of * the BSD license. @@ -90,7 +90,7 @@ public class OneInstanceFactory implements //!! the here used services all have exact one constructor!! Constructor [] aCtor = aMyClass.getConstructors(); try { - xInstantiatedService = (XInterface) aCtor[0].newInstance( null ); + xInstantiatedService = (XInterface) aCtor[0].newInstance( (Object[])null ); } catch( Exception e ) { } |