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

« back to all changes in this revision

Viewing changes to src/lib/WP6PrefixData.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:
31
31
#include "WP6DefaultInitialFontPacket.h"
32
32
#include "libwpd_internal.h"
33
33
 
34
 
WP6PrefixData::WP6PrefixData(WPXInputStream *input, WPXEncryption *encryption, const int numPrefixIndices) :
 
34
WP6PrefixData::WP6PrefixData(librevenge::RVNGInputStream *input, WPXEncryption *encryption, const int numPrefixIndices) :
35
35
        m_prefixDataPacketHash(),
36
36
        m_prefixDataPacketTypeHash(),
37
37
        m_defaultInitialFontPID((-1))
41
41
                WPD_DEBUG_MSG(("WordPerfect: constructing called without any prefix\n"));
42
42
                return;
43
43
        }
44
 
        uint16_t i;
 
44
        unsigned short i;
45
45
        WP6PrefixIndice **prefixIndiceArray = new WP6PrefixIndice *[size_t(numPrefixIndices-1)];
46
46
        for (i=1; i<numPrefixIndices; i++)
47
47
        {