Kaydet (Commit) 7302dd68 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS sdksample (1.3.124); FILE MERGED

2004/08/04 12:39:16 jsc 1.3.124.2: #i29308# improved
2004/07/30 08:35:29 jsc 1.3.124.1: #i29308# integrate new multiple inheritance interface
üst 67c7f31d
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: ImageShrink.java,v $ * $RCSfile: ImageShrink.java,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: hr $ $Date: 2003-06-30 15:15:21 $ * last change: $Author: rt $ $Date: 2005-01-31 16:17:04 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* the BSD license. * the BSD license.
...@@ -61,8 +61,7 @@ import com.sun.star.lib.uno.helper.WeakBase; ...@@ -61,8 +61,7 @@ import com.sun.star.lib.uno.helper.WeakBase;
public class ImageShrink extends WeakBase public class ImageShrink extends WeakBase
implements com.sun.star.lang.XServiceInfo, implements com.sun.star.lang.XServiceInfo,
org.openoffice.test.XImageShrink, org.openoffice.test.XImageShrinkFilter {
com.sun.star.document.XFilter {
com.sun.star.uno.XComponentContext xComponentContext = null; com.sun.star.uno.XComponentContext xComponentContext = null;
...@@ -107,7 +106,7 @@ public class ImageShrink extends WeakBase ...@@ -107,7 +106,7 @@ public class ImageShrink extends WeakBase
regKey); regKey);
} }
// XFilter implementation // XFilter implementation (a sub-interface of XImageShrinkFilter)
public void cancel() { public void cancel() {
cancel = true; cancel = true;
} }
...@@ -122,7 +121,7 @@ public class ImageShrink extends WeakBase ...@@ -122,7 +121,7 @@ public class ImageShrink extends WeakBase
return true; return true;
} }
// XImageShrink implementation // XImageShrink implementation (a sub-interface of XImageShrinkFilter)
public String getDestinationDirectory() { public String getDestinationDirectory() {
return destDir; return destDir;
} }
...@@ -159,9 +158,7 @@ public class ImageShrink extends WeakBase ...@@ -159,9 +158,7 @@ public class ImageShrink extends WeakBase
} }
public String[] getSupportedServiceNames( ) { public String[] getSupportedServiceNames( ) {
String[] retValue= new String[0]; return new String[] { __serviceName };
retValue[0]= __serviceName;
return retValue;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment