diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2015-12-17 07:53:06 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2015-12-17 07:53:06 +0100 |
commit | 90c35b861c65ee1e4dfd12136ff0d7c65f8337f5 (patch) | |
tree | 9a2006c3e7444d97dcbba63d1a9cfbf8733d2920 | |
parent | b1434c82fa7d4c87390af2ed31d30b8fd6e5e3c6 (diff) |
Fix tab reading for VSD5 and lower
Change-Id: I226205030e458d9661a845cb87c1ac920341679c
-rw-r--r-- | src/lib/VSDParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp index 72dfe00..47e58b4 100644 --- a/src/lib/VSDParser.cpp +++ b/src/lib/VSDParser.cpp @@ -773,7 +773,7 @@ void libvisio::VSDParser::readOLEData(librevenge::RVNGInputStream *input) void libvisio::VSDParser::readTabsData(librevenge::RVNGInputStream *input) { - m_shape.m_tabSets[m_header.id].m_numChars = readU32(input); + m_shape.m_tabSets[m_header.id].m_numChars = getUInt(input); unsigned char numStops = readU8(input); m_shape.m_tabSets[m_header.id].m_tabStops.clear(); for (unsigned char i = 0; i < numStops; ++i) |