Opened 15 years ago

Closed 15 years ago

#4299 closed bug (fixed)

RTF DataTranslator Casts BPositionIO to BNode

Reported by: GeneralMaximus Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Translation Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The context is the RTF DataTranslator, line 622 of convert.cpp in src/add-ons/translators/rtf/

Instead of operating on BPositionIO, the translator casts it into a BNode. The downside of this is that it is impossible to use any subclass of BPositionIO except BFile with the translator. Using any subclass of BPositionIO except for BFile returns I/O error (-2147483647).

Change History (1)

comment:1 by axeld, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev32568, thanks for the note!

Note: See TracTickets for help on using tickets.