diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 15:17:04 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 15:17:04 +0000 |
commit | 7302dd6827993b3e0f2cbfc4639a70cfdf0e294f (patch) | |
tree | 084ac35d9c12c1c9259bdc50d45b6629dda2e1b6 /odk/examples/DevelopersGuide/Components/Thumbs | |
parent | 67c7f31d471d8ba328c7e02296f06be4063b54b7 (diff) |
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
Diffstat (limited to 'odk/examples/DevelopersGuide/Components/Thumbs')
-rw-r--r-- | odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java b/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java index 5af3d79bd786..c0251bd418ed 100644 --- a/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java +++ b/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java @@ -2,9 +2,9 @@ * * $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 BSD license. @@ -61,8 +61,7 @@ import com.sun.star.lib.uno.helper.WeakBase; public class ImageShrink extends WeakBase implements com.sun.star.lang.XServiceInfo, - org.openoffice.test.XImageShrink, - com.sun.star.document.XFilter { + org.openoffice.test.XImageShrinkFilter { com.sun.star.uno.XComponentContext xComponentContext = null; @@ -107,7 +106,7 @@ public class ImageShrink extends WeakBase regKey); } - // XFilter implementation + // XFilter implementation (a sub-interface of XImageShrinkFilter) public void cancel() { cancel = true; } @@ -122,7 +121,7 @@ public class ImageShrink extends WeakBase return true; } - // XImageShrink implementation + // XImageShrink implementation (a sub-interface of XImageShrinkFilter) public String getDestinationDirectory() { return destDir; } @@ -159,9 +158,7 @@ public class ImageShrink extends WeakBase } public String[] getSupportedServiceNames( ) { - String[] retValue= new String[0]; - retValue[0]= __serviceName; - return retValue; + return new String[] { __serviceName }; } } |