diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-11-10 14:26:01 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-11-10 14:26:01 +0100 |
commit | f1ab67ca373b124684297c421ca66f72bf32f810 (patch) | |
tree | 7d6c0898acc8db84f0a1b221a19d68d34cb949b9 | |
parent | 07d8883d31f7fea62aa2dbaf5ac279086e98a8e0 (diff) |
Some little fixes
-rw-r--r-- | src/lib/VSDXContentCollector.cpp | 1 | ||||
-rw-r--r-- | src/lib/VSDXParser.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp index 77d418f..052a744 100644 --- a/src/lib/VSDXContentCollector.cpp +++ b/src/lib/VSDXContentCollector.cpp @@ -510,6 +510,7 @@ void libvisio::VSDXContentCollector::_flushCurrentPath() void libvisio::VSDXContentCollector::_flushText() { + m_fieldIndex = 0; if (!m_textStream.size()) return; double angle = 0.0; transformAngle(angle, m_txtxform); diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp index 45977df..417ccf8 100644 --- a/src/lib/VSDXParser.cpp +++ b/src/lib/VSDXParser.cpp @@ -1570,7 +1570,7 @@ void libvisio::VSDXParser::readTextField(WPXInputStream *input) if (tmpCode == 0xe8) { unsigned nameId = readU32(input); - if (nameId == 0xfffc) + if (nameId == 0xfffffffc) { if (m_isStencilStarted) m_stencilShape.m_fields.addEmptyField(m_header.id, m_header.level); |