CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc RtfExternalGraphic.java,1.7,1.8
Bertrand Delacretaz <[email protected]> Wed, 05 Jun 2002 21:48:08 -0700
| Newsgroups | gmane.text.xml.jfor.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc
In directory usw-pr-cvs1:/tmp/cvs-serv2984/src/org/jfor/jfor/rtflib/rtfdoc
Modified Files:
RtfExternalGraphic.java
Log Message:
Michael Krause credited for image reading patch
Index: RtfExternalGraphic.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfExternalGraphic.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** RtfExternalGraphic.java 5 Jun 2002 17:43:24 -0000 1.7
--- RtfExternalGraphic.java 6 Jun 2002 04:48:01 -0000 1.8
***************
*** 206,211 ****
try
{
! final BufferedInputStream bin = new BufferedInputStream(url.openStream());
! final ByteArrayOutputStream bout = new ByteArrayOutputStream();
while (true) {
final int datum = bin.read();
--- 206,212 ----
try
{
! // image reading patch provided by Michael Krause <[email protected]>
! final BufferedInputStream bin = new BufferedInputStream(url.openStream());
! final ByteArrayOutputStream bout = new ByteArrayOutputStream();
while (true) {
final int datum = bin.read();
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm