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>
This commit is contained in:
Julien Nabet
2013-03-23 13:58:46 +01:00
committed by David Tardon
parent 843c21201f
commit 291b69c40f

View File

@@ -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);