summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-23 13:58:46 +0100
committerDavid Tardon <dtardon@redhat.com>2013-03-25 10:20:35 +0000
commit291b69c40fffc48c2890f8067e7e39e0fb04ff7d (patch)
tree14224bc15e7a1725bb66301ad57f5f3eb8a32232 /filter
parent843c21201f5d496bb69b36fdc2a1eb5099e73728 (diff)
Related coverity#441160 Logically dead code
Change-Id: Ibb4cff2b9a53eb1d9f4ea6043ed2b1b2deba1e2b Reviewed-on: https://gerrit.libreoffice.org/2929 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/epict/epict.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx
index 26a2bf34f248..4114cdbfdd6a 100644
--- a/filter/source/graphicfilter/epict/epict.cxx
+++ b/filter/source/graphicfilter/epict/epict.cxx
@@ -657,7 +657,7 @@ void PictWriter::WriteOpcode_Text(const Point & rPoint, const String& rString, s
dh = aPoint.X()-aDstTextPosition.X();
dv = aPoint.Y()-aDstTextPosition.Y();
- if (bDstTextPositionValid==sal_False || dh<0 || dh>255 || dv<0 || dv>0 || bDelta==sal_False)
+ if (bDstTextPositionValid==sal_False || dh<0 || dh>255 || dv<0 || dv>255 || bDelta==sal_False)
{
*pPict << (sal_uInt16)0x0028;
WritePoint(rPoint);