Author: hdu
Date: Tue Mar 19 16:05:25 2013
New Revision: 1458372
URL: http://svn.apache.org/r1458372
Log:
WaE: make good the commenting-out, else there are confusing unused-result
warnings
Modified:
openoffice/trunk/main/svx/source/svdraw/svdoedge.cxx
Modified: openoffice/trunk/main/svx/source/svdraw/svdoedge.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/svdraw/svdoedge.cxx?rev=1458372&r1=1458371&r2=1458372&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/svdraw/svdoedge.cxx (original)
+++ openoffice/trunk/main/svx/source/svdraw/svdoedge.cxx Tue Mar 19 16:05:25
2013
@@ -952,8 +952,6 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(co
long nXMax=Max(aBewareRect1.Right(),aBewareRect2.Right());
long nYMin=Min(aBewareRect1.Top(),aBewareRect2.Top());
long nYMax=Max(aBewareRect1.Bottom(),aBewareRect2.Bottom());
- //int bBoundOverlap=aBoundRect1.Right()>aBoundRect2.Left() &&
aBoundRect1.Left()<aBoundRect2.Right() &&
-
aBoundRect1.Bottom()>aBoundRect2.Top() &&
aBoundRect1.Top()<aBoundRect2.Bottom();
FASTBOOL
bBewareOverlap=aBewareRect1.Right()>aBewareRect2.Left() &&
aBewareRect1.Left()<aBewareRect2.Right() &&
aBewareRect1.Bottom()>aBewareRect2.Top() &&
aBewareRect1.Top()<aBewareRect2.Bottom();
unsigned nMainCase=3;