Kaydet (Commit) 3b1aadb8 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS jsc5 (1.5.56); FILE MERGED

2006/02/02 14:36:31 jsc 1.5.56.1: #i61438# remove warning
üst 993c3047
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: OpenQuery.java,v $ * $RCSfile: OpenQuery.java,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: rt $ $Date: 2005-01-31 16:20:00 $ * last change: $Author: kz $ $Date: 2006-02-03 17:14:37 $
* *
* 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.
...@@ -107,7 +107,7 @@ public class OpenQuery { ...@@ -107,7 +107,7 @@ public class OpenQuery {
// the DataSourceName can be a data source registered with [PRODUCTNAME], among other possibilities // the DataSourceName can be a data source registered with [PRODUCTNAME], among other possibilities
xProp.setPropertyValue("DataSourceName","Bibliography"); xProp.setPropertyValue("DataSourceName","Bibliography");
// the CommandType must be TABLE, QUERY or COMMAND here we use COMMAND // the CommandType must be TABLE, QUERY or COMMAND, here we use COMMAND
xProp.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.COMMAND)); xProp.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.COMMAND));
// the Command could be a table or query name or a SQL command, depending on the CommandType // the Command could be a table or query name or a SQL command, depending on the CommandType
......
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