34
34
// returns the part if it successfully creates the part, returns 0 if it can't
35
35
// throws an exception if there is an error
36
36
// precondition: readVal is between 0xC0 and 0xEF
37
WP3Part *WP3Part::constructPart(WPXInputStream *input, WPXEncryption *encryption, const uint8_t readVal)
37
WP3Part *WP3Part::constructPart(librevenge::RVNGInputStream *input, WPXEncryption *encryption, const unsigned char readVal)
39
39
WPD_DEBUG_MSG(("WordPerfect: ConstructPart for group 0x%x\n", readVal));
44
44
WPD_DEBUG_MSG(("WordPerfect: constructSingleByteFunction(input, val)\n"));
45
45
return WP3SingleByteFunction::constructSingleByteFunction(input, encryption, readVal);
49
49
// fixed length multi-byte function