blob: 16b0ec4bf71a8080ef000f795747f2b4f76e2678 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- src/lib/VSDParser.cpp
+++ src/lib/VSDParser.cpp
@@ -1104,7 +1104,11 @@
input->seek(1, librevenge::RVNG_SEEK_CUR);
double scale = readDouble(input);
input->seek(1, librevenge::RVNG_SEEK_CUR);
- scale /= readDouble(input);
+ double scaleDenom = readDouble(input);
+ if (scaleDenom != 0)
+ {
+ scale /= scaleDenom;
+ }
if (m_isStencilStarted && m_currentStencil)
{
|