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

« back to all changes in this revision

Viewing changes to src/lib/WP6HighlightGroup.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:
29
29
#include "WP6Listener.h"
30
30
#include "libwpd_internal.h"
31
31
 
32
 
WP6HighlightGroup::WP6HighlightGroup(WPXInputStream *input, WPXEncryption *encryption, uint8_t groupID) :
 
32
WP6HighlightGroup::WP6HighlightGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID) :
33
33
        WP6FixedLengthGroup(groupID),
34
34
        m_color()
35
35
{
36
36
        _read(input, encryption);
37
37
}
38
38
 
39
 
void WP6HighlightGroup::_readContents(WPXInputStream *input, WPXEncryption *encryption)
 
39
void WP6HighlightGroup::_readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
40
40
{
41
41
        m_color.m_r = readU8(input, encryption);
42
42
        m_color.m_g = readU8(input, encryption);
44
44
        m_color.m_s = readU8(input, encryption);
45
45
}
46
46
 
47
 
WP6HighlightOnGroup::WP6HighlightOnGroup(WPXInputStream *input, WPXEncryption *encryption, uint8_t groupID) :
 
47
WP6HighlightOnGroup::WP6HighlightOnGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID) :
48
48
        WP6HighlightGroup(input, encryption, groupID)
49
49
{
50
50
}
54
54
        listener->highlightChange(true, getColor());
55
55
}
56
56
 
57
 
WP6HighlightOffGroup::WP6HighlightOffGroup(WPXInputStream *input, WPXEncryption *encryption, uint8_t groupID) :
 
57
WP6HighlightOffGroup::WP6HighlightOffGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID) :
58
58
        WP6HighlightGroup(input, encryption, groupID)
59
59
{
60
60
}