/aoo4110/main/tools/source/generic/ |
H A D | fract.cxx | 59 static long GetGGT( long nVal1, long nVal2 ) in GetGGT() argument 62 nVal2 = Abs( nVal2 ); in GetGGT() 64 if ( nVal1 <= 1 || nVal2 <= 1 ) in GetGGT() 67 while ( nVal1 != nVal2 ) in GetGGT() 69 if ( nVal1 > nVal2 ) in GetGGT() 71 nVal1 %= nVal2; in GetGGT() 73 return nVal2; in GetGGT() 77 nVal2 %= nVal1; in GetGGT() 78 if ( nVal2 == 0 ) in GetGGT()
|
/aoo4110/main/tools/inc/tools/ |
H A D | gen.hxx | 141 friend Point operator*( const Point &rVal1, const long nVal2 ); 142 friend Point operator/( const Point &rVal1, const long nVal2 ); 146 friend inline Point operator*( const Point &rVal1, const long nVal2 ); 147 friend inline Point operator/( const Point &rVal1, const long nVal2 ); 228 inline Point operator*( const Point &rVal1, const long nVal2 ) in operator *() argument 230 return Point( rVal1.nA*nVal2, rVal1.nB*nVal2 ); in operator *() 233 inline Point operator/( const Point &rVal1, const long nVal2 ) in operator /() argument 235 return Point( rVal1.nA/nVal2, rVal1.nB/nVal2 ); in operator /()
|
/aoo4110/main/sc/source/core/data/ |
H A D | conditio.cxx | 123 nVal2(r.nVal2), in ScConditionEntry() 157 nVal2(r.nVal2), in ScConditionEntry() 195 nVal2(0.0), in ScConditionEntry() 223 nVal2(0.0), in ScConditionEntry() 273 nVal2 = pToken->GetDouble(); in ScConditionEntry() 366 nVal2 = pToken->GetDouble(); in Compile() 605 if ( !pFormula2 && ( nVal2 != r.nVal2 || aStrVal2 != r.aStrVal2 || bIsStr2 != r.bIsStr2 ) ) in operator ==() 670 nVal2 = pEff2->GetValue(); in Interpret() 677 nVal2 = 0.0; in Interpret() 711 double nComp2 = nVal2; in IsValid() [all …]
|
H A D | column3.cxx | 945 sal_Bool lcl_DoFunction( double& rVal1, double nVal2, sal_uInt16 nFunction ) in lcl_DoFunction() argument 951 bOk = SubTotal::SafePlus( rVal1, nVal2 ); in lcl_DoFunction() 954 nVal2 = -nVal2; //! geht das immer ohne Fehler? in lcl_DoFunction() 955 bOk = SubTotal::SafePlus( rVal1, nVal2 ); in lcl_DoFunction() 958 bOk = SubTotal::SafeMult( rVal1, nVal2 ); in lcl_DoFunction() 961 bOk = SubTotal::SafeDiv( rVal1, nVal2 ); in lcl_DoFunction() 1040 double nVal2; in MixData() local 1046 nVal2 = ((ScValueCell*)pDest)->GetValue(); in MixData() 1048 nVal2 = 0.0; in MixData() 1070 sal_Bool bOk = lcl_DoFunction( nVal1, nVal2, nFunction ); in MixData() [all …]
|
H A D | table4.cxx | 312 double nVal2 = GetValue(nCol+nAddX, nRow+nAddY); in FillAnalyse() local 313 rInc = nVal2 - nVal1; in FillAnalyse() 322 nVal2 = ((ScValueCell*)pCell)->GetValue(); in FillAnalyse() 323 double nDiff = nVal2 - nVal1; in FillAnalyse() 326 nVal1 = nVal2; in FillAnalyse() 366 sal_Int32 nVal2; in FillAnalyse() local 368 short nFlag2 = lcl_DecompValueString( aStr, nVal2, &rMinDigits ); in FillAnalyse() 371 rInc = (double)nVal2 - (double)nVal1; in FillAnalyse() 385 nFlag2 = lcl_DecompValueString( aStr, nVal2, &rMinDigits ); in FillAnalyse() 388 double nDiff = (double)nVal2 - (double)nVal1; in FillAnalyse() [all …]
|
H A D | table3.cxx | 308 double nVal2; in CompareCell() local 316 nVal2 = ((ScValueCell*)pCell2)->GetValue(); in CompareCell() 318 nVal2 = ((ScFormulaCell*)pCell2)->GetValue(); in CompareCell() 320 nVal2 = 0; in CompareCell() 321 if (nVal1 < nVal2) in CompareCell() 323 else if (nVal1 > nVal2) in CompareCell()
|
/aoo4110/main/basegfx/source/color/ |
H A D | bcolortools.cxx | 98 const double nVal2( 2.0*l - nVal1 ); in hsl2rgb() local 101 hsl2rgbHelper(nVal2, in hsl2rgb() 104 hsl2rgbHelper(nVal2, in hsl2rgb() 107 hsl2rgbHelper(nVal2, in hsl2rgb()
|
/aoo4110/main/slideshow/source/engine/ |
H A D | color.cxx | 119 const double nVal2( 2.0*nLuminance - nVal1 ); in hsl2rgb() local 123 aRes.mnRed = hsl2rgbHelper( nVal2, in hsl2rgb() 126 aRes.mnGreen = hsl2rgbHelper( nVal2, in hsl2rgb() 129 aRes.mnBlue = hsl2rgbHelper( nVal2, in hsl2rgb()
|
/aoo4110/main/sw/inc/ |
H A D | EnhancedPDFExportHelper.hxx | 129 bool operator()( long nVal1, long nVal2 ) const in operator ()() 131 return nVal1 + ( MINLAY - 1 ) < nVal2; in operator ()()
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdoedge.cxx | 203 sal_Int32 nVal2 = ((SdrEdgeLine2DeltaItem&)rSet.Get(SDRATTR_EDGELINE2DELTA)).GetValue(); in ImpSetAttrToEdgeInfo() local 208 sal_Int32 nVals[3] = { nVal1, nVal2, nVal3 }; in ImpSetAttrToEdgeInfo() 257 aEdgeInfo.aObj2Line2.X() = nVal2; in ImpSetAttrToEdgeInfo() 261 aEdgeInfo.aObj2Line2.Y() = nVal2; in ImpSetAttrToEdgeInfo() 275 sal_Int32 nVal2 = ((SdrEdgeLine2DeltaItem&)rSet.Get(SDRATTR_EDGELINE2DELTA)).GetValue(); in ImpSetEdgeInfoToAttr() local 277 sal_Int32 nVals[3] = { nVal1, nVal2, nVal3 }; in ImpSetEdgeInfoToAttr() 322 if(n != nValAnz || nVals[0] != nVal1 || nVals[1] != nVal2 || nVals[2] != nVal3) in ImpSetEdgeInfoToAttr() 335 if(nVals[1] != nVal2) in ImpSetEdgeInfoToAttr()
|
/aoo4110/main/sd/source/ui/view/ |
H A D | drviewsj.cxx | 233 …long nVal2 = ( ( const SdrEdgeLine2DeltaItem& ) aAttrSet.Get( SDRATTR_EDGELINE2DELTA ) ).GetValue(… in GetMenuStateSel() local 236 if( nVal1 != 0 || nVal2 != 0 || nVal3 != 0 ) in GetMenuStateSel()
|
/aoo4110/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 6398 sal_Int16 nVal2; in ApplyTo() local 6489 nVal2 = (sal_Int16)nVal; in ApplyTo() 6496 if ( pPortion && ( nVal2 > 200 ) ) in ApplyTo() 6500 nVal2 = -(sal_Int16)( ( nFontHeight * nVal * 8 ) / 100 ); in ApplyTo() 6504 if ( nVal2 <= 0 ) in ApplyTo() 6506 aItem.SetLineHeight( (sal_uInt16)( rManager.ScalePoint( -nVal2 ) / 8 ) ); in ApplyTo() 6511 sal_uInt8 nPropLineSpace = (sal_uInt8)nVal2; in ApplyTo() 6537 nVal2 = (sal_Int16)nUpperDist; in ApplyTo() 6538 if ( nVal2 <= 0 ) in ApplyTo() 6545 nVal2 = (sal_Int16)nLowerDist; in ApplyTo() [all …]
|
/aoo4110/main/sc/inc/ |
H A D | conditio.hxx | 75 double nVal2; member in ScConditionEntry
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 579 double nVal2 = GetDouble(); in ScArcTan2() local 581 PushDouble(atan2(nVal2, nVal1)); in ScArcTan2()
|
H A D | interpr1.cxx | 4138 const double nVal2 = rEntry.nVal; in lcl_CompareMatrix2Query() local 4139 if (nVal1 == nVal2) in lcl_CompareMatrix2Query() 4142 return nVal1 < nVal2 ? -1 : 1; in lcl_CompareMatrix2Query()
|