~ubuntu-branches/ubuntu/wily/libwpd/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/WP42ExtendedCharacterGroup.cpp

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2014-08-08 00:35:26 UTC
  • mfrom: (11.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20140808003526-7pku3062w50cnsod
Tags: 0.10.0-2
* upload to unstable

* fix debian/copyright for MPL-2.0 | LGPL-2.1+ dual-license 

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "WP42ExtendedCharacterGroup.h"
27
27
#include "libwpd_internal.h"
28
28
 
29
 
WP42ExtendedCharacterGroup::WP42ExtendedCharacterGroup(WPXInputStream *input, WPXEncryption *encryption, uint8_t group) :
 
29
WP42ExtendedCharacterGroup::WP42ExtendedCharacterGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group) :
30
30
        WP42MultiByteFunctionGroup(group),
31
31
        m_extendedCharacter(0)
32
32
{
37
37
{
38
38
}
39
39
 
40
 
void WP42ExtendedCharacterGroup::_readContents(WPXInputStream *input, WPXEncryption *encryption)
 
40
void WP42ExtendedCharacterGroup::_readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
41
41
{
42
42
        m_extendedCharacter = readU8(input, encryption);
43
43
}
45
45
void WP42ExtendedCharacterGroup::parse(WP42Listener *listener)
46
46
{
47
47
        WPD_DEBUG_MSG(("WordPerfect: handling an ExtendedCharacter group\n"));
48
 
        const uint32_t *chars;
 
48
        const unsigned *chars;
49
49
        int len = extendedCharacterWP42ToUCS4(m_extendedCharacter, &chars);
50
50
 
51
51
        for (int i = 0; i < len; i++)