summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/svmconverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx
index d9aae46824f0..89e6c5b119cb 100644
--- a/vcl/source/gdi/svmconverter.cxx
+++ b/vcl/source/gdi/svmconverter.cxx
@@ -923,7 +923,7 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf )
nDXAryLen = std::max(nAryLen, nStrLen);
pDXAry.reset(new long[nDXAryLen]);
- if (nDXAryLen <= nLen)
+ if (nDXAryLen < nLen)
{
//MetaTextArrayAction ctor expects pDXAry to be >= nLen if set, so if this can't
//be achieved, don't read it, it's utterly broken.