diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 20:06:35 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 20:06:35 +0000 |
commit | 99c23e0510bd898c81cdf9c88bc253ea7f3fb16a (patch) | |
tree | 8f42e486c2c3fce20c735bf4ae4207a17e8007c5 /avmedia/source | |
parent | fa2a23a730587d161a15f04dd4b3d75df2c76538 (diff) |
INTEGRATION: CWS presentationengine01 (1.1.1.1.12); FILE MERGED
2004/11/23 15:37:48 ka 1.1.1.1.12.1: remove Linux only switch
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/java/x11/SystemWindowAdapter.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/avmedia/source/java/x11/SystemWindowAdapter.java b/avmedia/source/java/x11/SystemWindowAdapter.java index f253c10ac7af..74ff77e9e3eb 100644 --- a/avmedia/source/java/x11/SystemWindowAdapter.java +++ b/avmedia/source/java/x11/SystemWindowAdapter.java @@ -72,17 +72,6 @@ public class SystemWindowAdapter // now, we're getting slightly system dependent here. String os = (String) System.getProperty( "os.name" ); - // create the embedded frame - if( os.startsWith( "Linux" ) ) - { - // create a java frame from that - aFrame = new sun.awt.motif.MEmbeddedFrame( windowHandle ); - } - else - { - throw new com.sun.star.uno.RuntimeException(); - } - - return aFrame; + return new sun.awt.motif.MEmbeddedFrame( windowHandle ); } } |