diff options
Diffstat (limited to 'emfio')
-rw-r--r-- | emfio/source/reader/emfreader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx index dcb8a2379148..73a082eae2e8 100644 --- a/emfio/source/reader/emfreader.cxx +++ b/emfio/source/reader/emfreader.cxx @@ -1009,7 +1009,7 @@ namespace emfio } else if (aPointTypes[i] & PT_BEZIERTO) { - if (aPoints.size() - i < 3) + if (nPointsCount - i < 3) { SAL_WARN("emfio", "EMF file error: Not enough Bezier points."); break; |