summaryrefslogtreecommitdiff
path: root/src/lib/VSD6Parser.cpp
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-06-20 13:26:58 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-06-20 13:26:58 +0200
commit66fb0e8833a5ab6cc23a3acb7d6148ba948e51bd (patch)
tree71b2cf2b3fe0fdf5bafdc7a2cdb959e4524c59e7 /src/lib/VSD6Parser.cpp
parent22ae0a7d9495bff5ef0e44f62da1719edadc9d6f (diff)
This langid does not make sense and we don't even use it
Diffstat (limited to 'src/lib/VSD6Parser.cpp')
-rw-r--r--src/lib/VSD6Parser.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/VSD6Parser.cpp b/src/lib/VSD6Parser.cpp
index ededb03..2ed034f 100644
--- a/src/lib/VSD6Parser.cpp
+++ b/src/lib/VSD6Parser.cpp
@@ -145,23 +145,20 @@ void libvisio::VSD6Parser::readCharIX(WPXInputStream *input)
if (fontMod & 4) strikeout = true;
if (fontMod & 0x20) doublestrikeout = true;
- input->seek(42, WPX_SEEK_CUR);
- unsigned langId = readU32(input);
-
if (m_isInStyles)
- m_collector->collectCharIXStyle(m_header.id, m_header.level, charCount, fontID, fontColour, langId, fontSize,
+ m_collector->collectCharIXStyle(m_header.id, m_header.level, charCount, fontID, fontColour, fontSize,
bold, italic, underline, doubleunderline, strikeout, doublestrikeout,
allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
else if (m_isStencilStarted)
{
VSD_DEBUG_MSG(("Found stencil character style\n"));
if (!m_stencilShape.m_charStyle)
- m_stencilShape.m_charStyle= new VSDXCharStyle(charCount, fontID, fontColour, langId, fontSize,
+ m_stencilShape.m_charStyle= new VSDXCharStyle(charCount, fontID, fontColour, fontSize,
bold, italic, underline, doubleunderline, strikeout, doublestrikeout,
allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
}
else
- m_charList->addCharIX(m_header.id, m_header.level, charCount, fontID, fontColour, langId, fontSize,
+ m_charList->addCharIX(m_header.id, m_header.level, charCount, fontID, fontColour, fontSize,
bold, italic, underline, doubleunderline, strikeout, doublestrikeout,
allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
}