summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-03-18 15:29:11 +0000
committerKurt Zenker <kz@openoffice.org>2005-03-18 15:29:11 +0000
commit7f8dba2b8c6cb80d1d5b47968a227a10725f8041 (patch)
tree94593881bf73b6196bc4573a4add26d7c77f7fd4 /wizards
parenta59f70bd46c68b150f20e7ff26a8bfbfcbf641d8 (diff)
INTEGRATION: CWS dbwizard4 (1.4.24); FILE MERGED
2005/03/08 14:08:30 bc 1.4.24.1: #i43785#Several changes in handling new tables
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGDocument.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/web/data/CGDocument.java b/wizards/com/sun/star/wizards/web/data/CGDocument.java
index ad76758cf54c..1c735e2bccd3 100644
--- a/wizards/com/sun/star/wizards/web/data/CGDocument.java
+++ b/wizards/com/sun/star/wizards/web/data/CGDocument.java
@@ -2,9 +2,9 @@
*
* $RCSfile: CGDocument.java,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: kz $ $Date: 2004-11-27 09:10:08 $
+ * last change: $Author: kz $ $Date: 2005-03-18 16:29:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -274,7 +274,9 @@ public class CGDocument extends ConfigSetItem implements XMLProvider {
|| appType == TypeDetection.IMPRESS_DOC
|| appType == TypeDetection.DRAW_DOC ) || appType == TypeDetection.HTML_DOC;
- String[] parts = media.split("_");
+// String[] parts = media.split("_"); // line removed because of compatibility to JDK13
+ String[] parts = JavaTools.ArrayoutofString(media, "_");
+
isSODocument = parts.length < 2 ? false : isSOOpenable && ( parts[1].startsWith("Star") );