summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeBean
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-02-16 15:22:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-02-16 15:22:52 +0000
commited1b43cf10415664c5a4b9d99eb0818b3cfcded0 (patch)
treefd157afdaa9410a78e85278076fbbbd497345938 /odk/examples/DevelopersGuide/OfficeBean
parentf5009e98cb38f827aff52f97c337195fd802f444 (diff)
INTEGRATION: CWS sdk14 (1.2.12); FILE MERGED
2005/01/27 16:02:43 mi 1.2.12.1: #i37638# storeToBuffer function worked only once if the document was not same length
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeBean')
-rw-r--r--odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
index ebcfbc9df2ab..6746fc4b8e13 100644
--- a/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
+++ b/odk/examples/DevelopersGuide/OfficeBean/OOoBeanViewer.java
@@ -2,9 +2,9 @@
*
* $RCSfile: OOoBeanViewer.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2004-11-09 11:22:02 $
+ * last change: $Author: vg $ $Date: 2005-02-16 16:22:52 $
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
@@ -194,7 +194,7 @@ public class OOoBeanViewer extends java.applet.Applet
{
try
{
- buffer = aBean.storeToByteArray( buffer, null );
+ buffer = aBean.storeToByteArray( null, null );
}
catch ( Throwable aExc )
{