diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-02 09:00:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-02 09:00:05 +0000 |
commit | d2397c08722b9acf84b7a03e1395f5391998cf84 (patch) | |
tree | 4440669368ca879573e89c8371a19a6952c4cb8c /filter | |
parent | f99de44a02bae5d5e2298be821fc7bcb56bee086 (diff) |
coverity#1420538 Copy-paste error
Change-Id: If85024b144f9d13da35b1f548100cf5860f3c75f
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/ieps/ieps.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx index 6d5c41cba7d8..265349a7119d 100644 --- a/filter/source/graphicfilter/ieps/ieps.cxx +++ b/filter/source/graphicfilter/ieps/ieps.cxx @@ -765,7 +765,7 @@ ipsGraphicImport( SvStream & rStream, Graphic & rGraphic, FilterConfigItem* ) if (!bFail) bFail = o3tl::checked_sub(nNumb[2], nNumb[0], nWidth) || o3tl::checked_add(nWidth, 1L, nWidth); if (!bFail) - bFail = o3tl::checked_sub(nNumb[3], nNumb[1], nHeight) || o3tl::checked_add(nWidth, 1L, nHeight); + bFail = o3tl::checked_sub(nNumb[3], nNumb[1], nHeight) || o3tl::checked_add(nHeight, 1L, nHeight); if (!bFail && nWidth > 0 && nHeight > 0) { GDIMetaFile aMtf; |