/trunk/main/svx/source/svdraw/ |
H A D | svdsnpv.cxx | 344 if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } in SnapPos() 348 if (Abs(b)<=my) { dy1=-b; if (Abs(dy1)<Abs(dy)) dy=dy1; } in SnapPos() 353 if (Abs(a)<=mx && Abs(b)<=my) { in SnapPos() 355 if (Abs(dx1)<Abs(dx) && Abs(dy1)<Abs(dy)) { dx=dx1; dy=dy1; } in SnapPos() 370 a=x- lft ; if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } // linker Rand in SnapPos() 371 a=x-(xs-rgt); if (Abs(a)<=mx) { dx1=-a; if (Abs(dx1)<Abs(dx)) dx=dx1; } // rechter Rand in SnapPos() 374 a=y- upp ; if (Abs(a)<=my) { dy1=-a; if (Abs(dy1)<Abs(dy)) dy=dy1; } // linker Rand in SnapPos() 375 a=y-(ys-lwr); if (Abs(a)<=my) { dy1=-a; if (Abs(dy1)<Abs(dy)) dy=dy1; } // rechter Rand in SnapPos() 402 if (Abs(dx1)<=mx && Abs(dy1)<=my && Abs(dx1)<Abs(dx) && Abs(dy1)<Abs(dy)) { in SnapPos() 475 if (Abs(aPt.X())<Abs(nBestXSnap)) { in CheckSnap() [all …]
|
H A D | svdoedge.cxx | 624 FASTBOOL bDiag=Abs(dx-dy)<2; in ImpCalcEscAngle() 885 *pnQuality=Abs(rPt1.X()-rPt2.X())+Abs(rPt1.Y()-rPt2.Y()); in ImpCalcEdgeTrack() 903 long nQ=Abs(aXP[1].X()-aXP[0].X())+Abs(aXP[1].Y()-aXP[0].Y()); in ImpCalcEdgeTrack() 904 nQ+=Abs(aXP[2].X()-aXP[1].X())+Abs(aXP[2].Y()-aXP[1].Y()); in ImpCalcEdgeTrack() 905 nQ+=Abs(aXP[3].X()-aXP[2].X())+Abs(aXP[3].Y()-aXP[2].Y()); in ImpCalcEdgeTrack() 1043 FASTBOOL bObenLang=Abs(nYMin-aMeeting.Y())<=Abs(nYMax-aMeeting.Y()); in ImpCalcEdgeTrack() 1103 FASTBOOL bLinksLang=Abs(nXMin-aMeeting.X())<=Abs(nXMax-aMeeting.X()); in ImpCalcEdgeTrack() 1322 nQual+=Abs(aPt1b.X()-aPt0.X())+Abs(aPt1b.Y()-aPt0.Y()); in ImpCalcEdgeTrack() 1331 sal_uIntPtr n1=Abs(aXP1[1].X()-aXP1[0].X())+Abs(aXP1[1].Y()-aXP1[0].Y()); in ImpCalcEdgeTrack() 1332 sal_uIntPtr n2=Abs(aXP1[2].X()-aXP1[1].X())+Abs(aXP1[2].Y()-aXP1[1].Y()); in ImpCalcEdgeTrack() [all …]
|
H A D | svddrgmt.cxx | 1592 if (Abs(aPt.X())<Abs(nBestXSnap)) in ImpCheckSnap() 1608 if (Abs(aPt.Y())<Abs(nBestYSnap)) in ImpCheckSnap() 2002 if (Abs(nXDiv)<=1 || Abs(nYDiv)<=1) in MoveSdrDrag() 2588 else if (Abs(aDif.X())==Abs(aDif.Y())) in TakeSdrDragComment() 2610 bool b45=b90 || (Abs(aDif.X())==Abs(aDif.Y())); in BeginSdrDrag() 2887 nVal = Abs(nVal); in TakeSdrDragComment() 3229 bValid=Abs(dx1)*100>Abs(dy1); in MoveSdrDrag() 3231 bValid=Abs(dy1)*100>Abs(dx1); in MoveSdrDrag() 3279 nPntWink=Abs(nPntWink); in MoveSdrDrag() 3282 double nUmfang=2*Abs(nNeuRad)*nPi; in MoveSdrDrag() [all …]
|
H A D | svdotxdr.cxx | 122 nXMul=Abs(nXMul); in ImpDragCalcRect() 123 nYMul=Abs(nYMul); in ImpDragCalcRect() 124 nXDiv=Abs(nXDiv); in ImpDragCalcRect() 125 nYDiv=Abs(nYDiv); in ImpDragCalcRect()
|
H A D | svdopath.cxx | 333 nRad=Abs(Round(nR)); in CalcCircle() 360 if (nRad==0 || Abs(nCircRelWink)<5) bRet=sal_False; in CalcCircle() 401 long l1=Abs(x1)+Abs(y1); in CalcLine() 402 long l2=Abs(x2)+Abs(y2); in CalcLine() 421 Point aP1(CalcLine(aTmpPt, nDirX, nDirY,pView)); aP1-=aTmpPt; long nQ1=Abs(aP1.X())+Abs(aP1.Y()); in CalcLine() 422 Point aP2(CalcLine(aTmpPt, nDirY,-nDirX,pView)); aP2-=aTmpPt; long nQ2=Abs(aP2.X())+Abs(aP2.Y()); in CalcLine() 472 long dx1=aRectP2.X()-aRectP1.X(); long dx1a=Abs(dx1); in CalcRect() 473 long dy1=aRectP2.Y()-aRectP1.Y(); long dy1a=Abs(dy1); in CalcRect() 474 long dx2=aRectP3.X()-aRectP2.X(); long dx2a=Abs(dx2); in CalcRect() 475 long dy2=aRectP3.Y()-aRectP2.Y(); long dy2a=Abs(dy2); in CalcRect() [all …]
|
H A D | svdtrans.cxx | 548 long x=Abs(rPnt.X()); in GetLen() 549 long y=Abs(rPnt.Y()); in GetLen() 669 long dxa=Abs(dx); in OrthoDistance8() 670 long dya=Abs(dy); in OrthoDistance8() 685 long dxa=Abs(dx); in OrthoDistance4() 686 long dya=Abs(dy); in OrthoDistance4()
|
H A D | svdocirc.cxx | 76 if (Abs(nHgt)>32767 || Abs(aRetval.Y())>32767) { in GetWinkPnt() 85 if (Abs(nWdt)>32767 || Abs(aRetval.X())>32767) { in GetWinkPnt()
|
/trunk/main/sd/source/filter/ppt/ |
H A D | pptin.cxx | 2545 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj() 2546 … Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE || in ApplyTextObj() 2547 … Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE) in ApplyTextObj() 2552 … else if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj() 2553 … Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE) in ApplyTextObj() 2582 … else if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE || in ApplyTextObj() 2583 … Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE) in ApplyTextObj() 2592 … if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE || in ApplyTextObj() 2593 … Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE) in ApplyTextObj() 2602 … if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE || in ApplyTextObj() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | outmap.cxx | 124 if ( nDPIX && (LONG_MAX / nDPIX < Abs( rMapRes.mnMapScNumX ) ) ) // #111139# avoid div by zero in ImplCalcBigIntThreshold() 139 rThresRes.mnThresLogToPixX = Abs( (LONG_MAX - nDenomHalfX) / nProductX ); in ImplCalcBigIntThreshold() 164 rThresRes.mnThresLogToPixY = Abs( (LONG_MAX - nDenomHalfY) / nProductY ); in ImplCalcBigIntThreshold() 412 if ( Abs( n ) < nThres ) in ImplLogicToPixel() 463 if ( Abs( n ) < nThres ) in ImplPixelToLogic() 2025 if ( LONG_MAX / Abs(n2) < Abs(n3) ) in fn5() 2032 if ( LONG_MAX / Abs(n4) < Abs(n5) ) in fn5() 2063 if ( LONG_MAX / Abs(n1) < Abs(n6) ) in fn5() 2068 if ( LONG_MAX / Abs(n4) < Abs(n5) ) in fn5() 2099 if ( LONG_MAX / Abs(n4) < Abs(n5) ) in fn5() [all …]
|
H A D | outdev4.cxx | 302 long nAbsRedSteps = Abs( nEndRed - nStartRed ); in ImplDrawLinearGradient() 303 long nAbsGreenSteps = Abs( nEndGreen - nStartGreen ); in ImplDrawLinearGradient() 304 long nAbsBlueSteps = Abs( nEndBlue - nStartBlue ); in ImplDrawLinearGradient() 506 long nCalcSteps = Abs( nRedSteps ); in ImplDrawComplexGradient() 507 long nTempSteps = Abs( nGreenSteps ); in ImplDrawComplexGradient() 510 nTempSteps = Abs( nBlueSteps ); in ImplDrawComplexGradient()
|
/trunk/main/tools/source/generic/ |
H A D | fract.cxx | 61 nVal1 = Abs( nVal1 ); in GetGGT() 62 nVal2 = Abs( nVal2 ); in GetGGT() 90 nA.Abs(); in Reduce() 91 nB.Abs(); in Reduce() 233 while ( Abs( (long)dVal ) < nMAX && nDen < nMAX ) in Fraction()
|
/trunk/main/sd/source/ui/func/ |
H A D | fusel.cxx | 705 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 706 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp() 777 && Abs(aPnt.X() - aMDPos.X()) < nDrgLog in MouseButtonUp() 778 && Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp() 902 if (Abs(aMDPos.X() - aPos.X()) < nDrgLog2 && in MouseButtonUp() 903 Abs(aMDPos.Y() - aPos.Y()) < nDrgLog2 && in MouseButtonUp() 918 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 919 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
|
H A D | futext.cxx | 721 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 722 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp() 810 Abs(aMDPos.X() - aPnt.X()) < nDrgLog1 && in MouseButtonUp() 811 Abs(aMDPos.Y() - aPnt.Y()) < nDrgLog1 && in MouseButtonUp()
|
H A D | fuconstr.cxx | 218 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 219 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
|
H A D | fuediglu.cxx | 296 if (Abs(aMDPos.X() - aPos.X()) < nDrgLog && in MouseButtonUp() 297 Abs(aMDPos.Y() - aPos.Y()) < nDrgLog && in MouseButtonUp()
|
/trunk/main/filter/source/graphicfilter/idxf/ |
H A D | dxfvec.cxx | 34 double DXFVector::Abs() const in Abs() function in DXFVector 44 flen=Abs(); in Unit() 175 double fMXAbs=aMX.Abs(); in TransCircleToEllipse() 176 double fMYAbs=aMY.Abs(); in TransCircleToEllipse()
|
H A D | dxf2mtf.cxx | 465 nHeight=(sal_uInt16)(aV.Abs()+0.5); in DrawTextEntity() 469 if ( SetFontAttribute( rE,nAng, nHeight, aV. Abs() ) ) in DrawTextEntity() 524 nHeight=(sal_uInt16)(aV.Abs()+0.5); in DrawAttribEntity() 528 if (SetFontAttribute(rE,nAng,nHeight,aV.Abs())) in DrawAttribEntity()
|
/trunk/main/tools/source/datetime/ |
H A D | ttime.cxx | 325 short nTempTime = (short)Abs( aDateTime.timezone ); in GetUTCOffset() 342 Time aTime( 0, (sal_uInt16)Abs( nTempTime ) ); in GetUTCOffset() 380 nTempTime = (short)Abs( nCacheSecOffset ); in GetUTCOffset()
|
/trunk/main/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 987 if( Abs( nFndWidth ) > COLFUZZY || in lcl_FndNxtPrvDelBox() 988 Abs( nBoxWidth - nFndBoxWidth ) > COLFUZZY ) in lcl_FndNxtPrvDelBox() 2660 ? Abs( nDist - rParam.nSide ) < COLFUZZY in lcl_SetOtherBoxWidth() 2696 ? Abs( nDist - rParam.nSide ) < COLFUZZY in lcl_SetOtherBoxWidth() 2757 if( Abs( nDist + ( rParam.bLeft ? 0 : nWidth ) in lcl_InsSelBox() 2797 else if( Abs( nDist + ( rParam.bLeft ? 0 : nWidth ) in lcl_InsSelBox() 3052 if( COLFUZZY > Abs( long(nEnd) - long(nBoxEnd) ) && in _CheckBoxInRange() 3053 COLFUZZY > Abs( long(nStt) - long(nBoxStt) ) ) in _CheckBoxInRange() 3078 if( COLFUZZY < Abs( nWidth - nBoxWidth )) in lcl_DelSelBox_CorrLowers() 3136 if( COLFUZZY < Abs( rParam.nBoxWidth - in lcl_ChgBoxSize() [all …]
|
/trunk/main/svl/source/numbers/ |
H A D | zforfind.cxx | 1091 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef() 1104 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef() 1120 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef() 1233 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef() 1248 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef() 1322 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef() 1332 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
|
/trunk/main/sw/source/ui/table/ |
H A D | swtablerep.cxx | 227 if(Abs((long)nOldLeft - (long)rTabCols.GetLeft()) < 3) in FillTabCols() 230 if(Abs((long)nOldRight - (long)rTabCols.GetRight()) < 3) in FillTabCols()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fuconstr.cxx | 136 if ( Abs( aOldPixel.X() - aNewPixel.X() ) > SC_MAXDRAGMOVE || in MouseMove() 137 Abs( aOldPixel.Y() - aNewPixel.Y() ) > SC_MAXDRAGMOVE ) in MouseMove()
|
/trunk/main/tools/inc/tools/ |
H A D | bigint.hxx | 104 void Abs(); 266 inline void BigInt::Abs() in Abs() function in BigInt
|
/trunk/main/sc/source/filter/excel/ |
H A D | xlpage.cxx | 231 long nWDiff = Abs( pEntry->mnWidth - nWidth ); in SetScPaperSize() 232 long nHDiff = Abs( pEntry->mnHeight - nHeight ); in SetScPaperSize()
|
/trunk/main/sw/source/core/view/ |
H A D | viewsh.cxx | 1329 const bool bOnlyYScroll(!lXDiff && Abs(lYDiff) != 0 && Abs(lYDiff) < lMax); in SmoothScroll() 1362 Size aSize( aVisArea.Width()+2*aPixSz.Width(), Abs(lYDiff)+(2*aPixSz.Height()) ); in SmoothScroll() 1447 if ( Abs(lYDiff) > ( aVisArea.Height() / 3 ) ) in SmoothScroll() 1461 if ( Imp()->bStopSmooth || Abs(lDiff) <= Abs(lMaDelta) ) in SmoothScroll()
|