~ubuntu-branches/ubuntu/lucid/libwpd/lucid

« back to all changes in this revision

Viewing changes to src/lib/WP6VariableLengthGroup.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2007-01-11 15:15:57 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070111151557-rn1kysabqbccx3as
Tags: 0.8.8-2
run make check for stream check; build-depend on libcppunit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
WP6VariableLengthGroup::WP6VariableLengthGroup() :
44
44
        m_numPrefixIDs(0),
45
 
        m_prefixIDs(NULL)
 
45
        m_prefixIDs(0)
46
46
{
47
47
}
48
48
 
88
88
 
89
89
        try
90
90
        {
91
 
                uint8_t subGroup = readU8(input);
 
91
                input->seek(1, WPX_SEEK_CUR);
92
92
                uint16_t size = readU16(input);
93
93
 
94
94
                if (input->seek((startPosition + size - 4 - input->tell()), WPX_SEEK_CUR) || input->atEOS())
141
141
        else
142
142
        {
143
143
                m_numPrefixIDs = 0;
144
 
                m_prefixIDs = NULL;
 
144
                m_prefixIDs = 0;
145
145
        }
146
146
                
147
147
        m_sizeNonDeletable = readU16(input);