summaryrefslogtreecommitdiff
path: root/bean/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 12:11:25 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:13 +0200
commit3a8d3519889a68ddf209ea7c83307bec51cd6da0 (patch)
treeab67ef1b6f1f65443b7c4d0e086fdcff17f84283 /bean/com
parent8b65a61788aa18e97de068bc75fdeecb20a23026 (diff)
java: remove unused methods
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
Diffstat (limited to 'bean/com')
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java65
1 files changed, 0 insertions, 65 deletions
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 1357f6adcad0..b84ad5c4dd2c 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -658,71 +658,6 @@ public class OOoBean
- /** Stores a document to the given URL.
- <p>
- Due due a bug (50651) calling this method may cause the office to crash,
- when at the same time the office writes a backup of the document. This bug
- also affects {@link #storeToByteArray storeToByteArray} and
- {@link #storeToStream storeToStream}. The workaround
- is to start the office with the option --norestore, which disables the automatic
- backup and recovery mechanism. OOoBean offers currently no supported way of providing
- startup options for OOo. But it is possible to set a Java property when starting
- Java, which is examined by OOoBean:
- <pre>
- java -Dcom.sun.star.officebean.Options=--norestore ...
- </pre>
- It is planned to offer a way of specifying startup options in a future version.
- The property can be used until then. When using this property only one option
- can be provided.
-
- @throws IllegalArgumentException
- if either of the arguments is out of the specified range.
-
- @throws java.io.IOException
- if an IO error occurs reading the resource specified by the URL.
-
- @throws com.sun.star.lang.NoConnectionException
- if no connection is established.
-
- @throws NoDocumentException
- if no document is loaded
- */
- private void storeToURL(
- final String aURL,
- final com.sun.star.beans.PropertyValue aArguments[] )
- throws
- // @requirement FUNC.CON.LOST/0.2
- NoConnectionException,
- java.io.IOException,
- com.sun.star.lang.IllegalArgumentException,
- NoDocumentException
- {
- // no document available?
- if ( aDocument == null )
- throw new NoDocumentException();
-
- try
- {
- // start runtime timeout
- CallWatchThread aCallWatchThread =
- new CallWatchThread( nOOoCallTimeOut, "storeToURL" );
-
- // store the document
- try { aDocument.storeToURL( aURL, aArguments ); }
- catch ( com.sun.star.io.IOException aExc )
- { throw new java.io.IOException(); }
-
- // end runtime timeout
- aCallWatchThread.cancel();
- }
- catch ( java.lang.InterruptedException aExc )
- { throw new NoConnectionException(); }
- }
-
-
-
-
-
// @requirement FUNC.BEAN.PROG/0.5
// @requirement API.SIM.SEAP/0.2
/** returns the <type scope="com::sun::star::frame">Frame</a>