~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to filters/kword/msword-odf/wv2/src/headers97.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
std::pair<U32, U32> Headers97::findHeader( int sectionNumber, unsigned char mask ) const
29
29
{
 
30
    // NOTE: An empty header/footer story specifies that the previous section's
 
31
    // header/footer of the corresponding type is used.  For the first section,
 
32
    // an empty header/footer story specifies that it does not have a
 
33
    // header/footer of this type.  MS-DOC, p.34
 
34
 
30
35
    U32 start = 0;
31
36
    U32 lim = 0;
32
37
    const int offset = maskToOffset( mask );