/trunk/main/rsc/source/res/ |
H A D | rscrange.cxx | 54 nMin = nMax = 0; in RscRange() 85 nMin = nMaximum; in SetRange() 91 nMin = nMinimum; in SetRange() 219 if( nMin >= 0 ) in WriteRc() 244 if( nMin >= 0 ) in WriteRcAccess() 264 nMin = nMax = 0; in RscLongRange() 295 nMin = nMaximum; in SetRange() 301 nMin = nMinimum; in SetRange() 394 lDflt = nMin; in Create() 489 nMin = nMax = 0; in RscIdRange() [all …]
|
/trunk/main/tools/source/datetime/ |
H A D | ttime.cxx | 61 sal_Int32 nMin = rTime.GetMin(); in TimeToSec100() local 70 nRet += nMin*60*100; in TimeToSec100() 149 nMin += nSec / 60; in Time() 151 nHour += nMin / 60; in Time() 152 nMin = nMin % 60; in Time() 163 sal_Int32 nMin = GetMin(); in SetHour() local 167 nTime = (n100Sec + (nSec*100) + (nMin*10000) + in SetHour() 193 sal_Int32 nMin = GetMin(); in SetSec() local 209 sal_Int32 nMin = GetMin(); in Set100Sec() local 225 sal_Int32 nMin = GetMin(); in GetMSFromTime() local [all …]
|
H A D | datetime.cxx | 144 long nMin = GetMin(); in GetSecFromDateTime() local 145 nSec += (nHour*3600)+(nMin*60)+GetSec(); in GetSecFromDateTime() 165 sal_uInt16 nMin = (sal_uInt16)(nSec / 60); in MakeDateTimeFromSec() local 166 nSec -= nMin * 60; in MakeDateTimeFromSec() 167 ((Time*)this)->operator=( Time( 0, nMin, (sal_uInt16)nSec ) ); in MakeDateTimeFromSec()
|
/trunk/main/sw/source/core/access/ |
H A D | accportions.cxx | 454 size_t nMin = 0; in FindBreak() local 458 while( nMin+1 < nMax ) in FindBreak() 461 DBG_ASSERT( ( (nMin == 0) && (rPositions[nMin] <= nValue) ) || in FindBreak() 462 ( (nMin != 0) && (rPositions[nMin] < nValue) ), in FindBreak() 467 size_t nMiddle = (nMin + nMax)/2; in FindBreak() 478 nMin = nMiddle; in FindBreak() 484 DBG_ASSERT( (nMax == nMin) || (nMax == nMin+1), "only two left" ); in FindBreak() 485 if( (rPositions[nMin] < nValue) && (rPositions[nMin+1] <= nValue) ) in FindBreak() 486 nMin = nMin+1; in FindBreak() 491 DBG_ASSERT( (nMin == 0) || (rPositions[nMin-1] <= nValue), in FindBreak() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | htmltbl.cxx | 139 nMin(0), nMax(0), in SwHTMLTableLayoutColumn() 208 nMin( 0 ), nMax( 0 ), in SwHTMLTableLayout() 841 nMin += pColumn->GetMin(); in AutoLayoutPass1() 885 nMin -= nColMin; in AutoLayoutPass1() 889 nMin += nColMin; in AutoLayoutPass1() 921 nMin += nDiff; in AutoLayoutPass1() 1267 nMin > MAX_TABWIDTH ) in AutoLayoutPass2() 1498 if( nAbsTabWidth < nMin ) in AutoLayoutPass2() 1513 double nD = (nMax==nMin ? 1 : nMax-nMin); in AutoLayoutPass2() 1744 : nMin ); in SetWidths() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | optgrid.cxx | 57 rField.SetMin( rField.Normalize( nMin ), FUNIT_TWIP ); in lcl_SetMinMax() 223 long nFirst, nLast, nMin, nMax; in SvxGridTabPage() local 225 lcl_GetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in SvxGridTabPage() 227 lcl_SetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in SvxGridTabPage() 229 lcl_GetMinMax(aMtrFldDrawY, nFirst, nLast, nMin, nMax); in SvxGridTabPage() 231 lcl_SetMinMax(aMtrFldDrawY, nFirst, nLast, nMin, nMax); in SvxGridTabPage() 349 long nFirst, nLast, nMin, nMax; in ActivatePage() local 352 lcl_GetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in ActivatePage() 354 lcl_SetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in ActivatePage() 359 lcl_GetMinMax(aMtrFldDrawY, nFirst, nLast, nMin, nMax); in ActivatePage() [all …]
|
H A D | hdft.cxx | 1073 long nMin; in IMPL_LINK() local 1100 nMin = ( nH - nBB - nBT ) / 5; // 20% in IMPL_LINK() 1101 nMax = Max( nH - nMin - nHDist - nFDist - nFHeight - nBB - nBT, in IMPL_LINK() 1102 nMin ); in IMPL_LINK() 1104 nMin = ( nH - nBB - nBT ) / 5; // 20% in IMPL_LINK() 1105 nDist = Max( nH - nMin - nHHeight - nFDist - nFHeight - nBB - nBT, in IMPL_LINK() 1112 nMin = ( nH - nBT - nBB ) / 5; // 20% in IMPL_LINK() 1113 nMax = Max( nH - nMin - nFDist - nHDist - nHHeight - nBT - nBB, in IMPL_LINK() 1114 nMin ); in IMPL_LINK() 1116 nMin = ( nH - nBT - nBB ) / 5; // 20% in IMPL_LINK() [all …]
|
/trunk/main/editeng/source/misc/ |
H A D | txtrange.cxx | 146 long nMin; member in SvxBoundArgs 180 { if( nMin > nL ) nMin = nL; if( nMax < nR ) nMax = nR; } in NoteMargin() 285 if( nMax < nMin ) in NoteRange() 298 pLongArr->Insert( nMin, nIdx ); in NoteRange() 310 (*pLongArr)[ nIdx ] = nMin; in NoteRange() 365 nMin = USHRT_MAX; in Calc() 377 nMin = A(rNull); in Calc() 378 nMax = nMin + nEnd; in Calc() 379 nMin -= nStart; in Calc() 467 pLongArr->Insert( nMin, 0 ); in Calc() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | decoview.cxx | 48 long nSize = nMin; in ImplDrawSymbol() 50 if ( nMin & 0x01 ) in ImplDrawSymbol() 51 nMin--; in ImplDrawSymbol() 55 long n2 = nMin / 2; in ImplDrawSymbol() 56 long n4 = nMin / 4; in ImplDrawSymbol() 68 if ( !(nMin & 0x01) ) in ImplDrawSymbol() 93 if ( !(nMin & 0x01) ) in ImplDrawSymbol() 118 if ( !(nMin & 0x01) ) in ImplDrawSymbol() 143 if ( !(nMin & 0x01) ) in ImplDrawSymbol() 169 if ( !(nMin & 0x01) ) in ImplDrawSymbol() [all …]
|
/trunk/main/sw/inc/ |
H A D | htmltbl.hxx | 137 sal_uLong nMin, nMax; member in SwHTMLTableLayoutColumn 161 inline void MergeMinMaxNoAlign( sal_uLong nMin, sal_uLong nMax, sal_uLong nAbsMin ); 167 inline void SetMinMax( sal_uLong nMin, sal_uLong nMax ); 169 void AddToMin( sal_uLong nVal ) { nMin += nVal; } in AddToMin() 171 sal_uLong GetMin() const { return nMin; } in GetMin() 196 sal_uLong nMin; // minimale Breite der Tabelle (Twips) member in SwHTMLTableLayout 260 void ClearPass1Info() { nMin = nMax = 0; } in ClearPass1Info() 309 sal_uLong GetMin() const { return nMin; } in GetMin() 402 nMin = nMax = 0; in ClearPass1Info() 423 nMin = nMn; in SetMinMax() [all …]
|
/trunk/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 336 long nMin = 0, nMax = 0; in CollectBoxSelection() local 369 long nMid = ( nMin + nMax ) / 2; in CollectBoxSelection() 394 if( nRight <= nMin ) in CollectBoxSelection() 405 if( nLeft < nMin ) in CollectBoxSelection() 407 if( nRight >= nMid || nRight + nLeft >= nMin + nMin ) in CollectBoxSelection() 1615 long nMid = ( nMax + nMin )/ 2; in lcl_SearchSelBox() 1623 if( nRight > nMin ) in lcl_SearchSelBox() 1628 nRight - nMin > nMin - nLeft; in lcl_SearchSelBox() 1903 long nMid = nMin ? ( nMin + nMax ) / 2 : 0; in PrepareDeleteCol() 1919 if( nRight < nMin ) in PrepareDeleteCol() [all …]
|
/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 37 inline long MinMax( long nVal, long nMin, long nMax ); 45 inline long MinMax( long nVal, long nMin, long nMax ) in MinMax() argument 47 return( nVal >= nMin ? ( nVal <= nMax ? nVal : nMax ) : nMin ); in MinMax() 280 Range( long nMin, long nMax ); 298 inline Range::Range( long nMin, long nMax ) : Pair( nMin, nMax ) in Range() argument 329 Selection( long nMin, long nMax ); 346 void setMin(long nMin) { Min() = nMin; } in setMin() argument 358 inline Selection::Selection( long nMin, long nMax ) : in Selection() argument 359 Pair( nMin, nMax ) in Selection()
|
/trunk/main/cui/source/dialogs/ |
H A D | zoom.cxx | 137 void SvxZoomDialog::SetLimits( sal_uInt16 nMin, sal_uInt16 nMax ) in SetLimits() argument 139 DBG_ASSERT( nMin < nMax, "invalid limits" ); in SetLimits() 140 aUserEdit.SetMin( nMin ); in SetLimits() 141 aUserEdit.SetFirst( nMin ); in SetLimits() 203 sal_uInt16 nMin = 10; in SvxZoomDialog() local 217 if ( nMin > nValue ) in SvxZoomDialog() 218 nMin = nValue; in SvxZoomDialog() 221 aUserEdit.SetMin( nMin ); in SvxZoomDialog() 222 aUserEdit.SetFirst( nMin ); in SvxZoomDialog()
|
/trunk/main/toolkit/workben/layout/ |
H A D | zoom.cxx | 234 void SvxZoomDialog::SetLimits( USHORT nMin, USHORT nMax ) in SetLimits() argument 236 DBG_ASSERT( nMin < nMax, "invalid limits" ); in SetLimits() 237 aUserEdit.SetMin( nMin ); in SetLimits() 238 aUserEdit.SetFirst( nMin ); in SetLimits() 313 USHORT nMin = 10; in SvxZoomDialog() local 328 if ( nMin > nValue ) in SvxZoomDialog() 329 nMin = nValue; in SvxZoomDialog() 333 aUserEdit.SetMin( nMin ); in SvxZoomDialog() 334 aUserEdit.SetFirst( nMin ); in SvxZoomDialog()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/ |
H A D | PRNCompare.java | 309 int nMin = Math.min(nS1_Files, nS2_Files); in createDiffs() local 310 nMin = Math.min(nMin, _nMaxDiffs); in createDiffs() 312 StatusHelper[] aList = new StatusHelper[nMin]; in createDiffs() 318 for (int i=1;i<=nMin;i++) in createDiffs() 425 int nMin = Math.min(_aRefList.length, _aPSList.length); in createDiffs() local 426 nMin = Math.min(nMin, _nMaxDiffs); in createDiffs() 428 StatusHelper[] aList = new StatusHelper[nMin]; in createDiffs() 434 for (int i=1;i<=nMin;i++) in createDiffs()
|
/trunk/main/sw/source/core/text/ |
H A D | itratr.cxx | 474 long nMin, nMax; in lcl_MinMaxNode() local 502 nMin = pLayout->GetMin(); in lcl_MinMaxNode() 504 nDiff = nMax - nMin; in lcl_MinMaxNode() 514 nMin = 0; in lcl_MinMaxNode() 520 nMin = rSz.GetWidth(); in lcl_MinMaxNode() 522 nMax = nMin; in lcl_MinMaxNode() 527 nMin += rLR.GetLeft(); in lcl_MinMaxNode() 528 nMin += rLR.GetRight(); in lcl_MinMaxNode() 534 ( (SwMinMaxNodeArgs*)pArgs )->Minimum( nMin ); in lcl_MinMaxNode() 571 ((SwMinMaxNodeArgs*)pArgs)->nLeftRest -= nMin; in lcl_MinMaxNode() [all …]
|
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
H A D | LineContainer.java | 58 int nMin = 0; in GetLineForY() local 60 if (nMin <= nMax) in GetLineForY() 62 while (nMin < nMax-1) in GetLineForY() 64 final int nMed = (nMax+nMin)/2; in GetLineForY() 68 nMin = nMed; in GetLineForY() 70 for (int nIndex=nMin; nIndex<=nMax; ++nIndex) in GetLineForY()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdibrow.cxx | 96 sal_Int32 nMin; member in ImpItemListRow 110 nMin(0), in ImpItemListRow() 166 && nMin==rEntry.nMin in operator ==() 534 aNeuNam += UniString::CreateFromInt32(pEntry->nMin); in BegChangeEntry() 993 aEntry.nMin=-aEntry.nMax; in SetAttributes() 1015 ….bIsNum=sal_True; aEntry.nVal=((SfxByteItem &)rItem).GetValue(); aEntry.nMin=0; aEntry.nMax… in SetAttributes() 1016 ….bIsNum=sal_True; aEntry.nVal=((SfxInt16Item &)rItem).GetValue(); aEntry.nMin=-32767; aEntry.nMax… in SetAttributes() 1017 ….bIsNum=sal_True; aEntry.nVal=((SfxUInt16Item&)rItem).GetValue(); aEntry.nMin=0; aEntry.nMax… in SetAttributes() 1019 ….bIsNum=sal_True; aEntry.nVal=((SfxUInt32Item&)rItem).GetValue(); aEntry.nMin=0; /*aEntry.nMax=0x… in SetAttributes() 1021 ….bCanNum=sal_True; aEntry.nVal=((SfxBoolItem &)rItem).GetValue(); aEntry.nMin=0; aEntry.nMax=1; … in SetAttributes() [all …]
|
/trunk/main/sw/source/core/bastyp/ |
H A D | tabcol.cxx | 60 aEntry1.nMin == aEntry2.nMin && in SwTabCols() 105 void SwTabCols::Insert( long nValue, long nMin, long nMax, sal_Bool bValue, sal_uInt16 nPos ) in Insert() argument 109 aEntry.nMin = nMin; in Insert() 119 aEntry.nMin = 0; in Insert()
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salmathutils.cxx | 117 unsigned long nMin = 0; in Euclidian2Norm() local 127 nMin = (unsigned long)abs( nDZ ); in Euclidian2Norm() 136 if ( nMax < nMin ) in Euclidian2Norm() 138 Swap( nMax, nMin ); in Euclidian2Norm() 149 ndist = nMax + ( nMin >> 2UL ) in Euclidian2Norm()
|
/trunk/main/UnoControls/source/controls/ |
H A D | progressbar.cxx | 254 void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException ) in setRange() argument 264 …DBG_ASSERT ( ( nMin != nMax ) , "ProgressBar::setRange()\nValues for MIN and MAX are the same. Thi… in setRange() 270 if ( nMin < nMax ) in setRange() 273 m_nMinRange = nMin ; in setRange() 280 m_nMaxRange = nMin ; in setRange()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | olinefun.cxx | 469 SCCOLROW nMin; in ShowMarkedOutlines() local 491 nMin=MAXCOL; in ShowMarkedOutlines() 503 if (nStart<nMin) nMin=nStart; in ShowMarkedOutlines() 507 for ( i=nMin; i<=nMax; i++ ) in ShowMarkedOutlines() 512 nMin=MAXROW; in ShowMarkedOutlines() 524 if (nStart<nMin) nMin=nStart; in ShowMarkedOutlines() 528 for ( i=nMin; i<=nMax; i++ ) in ShowMarkedOutlines()
|
/trunk/main/framework/source/fwi/classes/ |
H A D | converter.cxx | 208 sal_uInt32 nMin = sSource.getToken( 0, (sal_Unicode)':', nIndex ).toInt32(); in convert_String2DateTime() local 214 Time aTime( nHour, nMin , nSec ); in convert_String2DateTime() 263 sal_Int32 nMin = aSource.GetMin(); in convert_DateTime2ISO8601() local 297 if (nMin<10) in convert_DateTime2ISO8601() 299 sBuffer.append( (sal_Int32)nMin ); in convert_DateTime2ISO8601()
|
/trunk/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 621 long nMin = nMinWidth - (nR >= 0 ? nR : 0); in CalcMinMaxBorder() local 622 aLeftMF.SetMax( aLeftMF.Normalize(nMin), eUnit ); in CalcMinMaxBorder() 625 nMin = nMinWidth - (nL >= 0 ? nL : 0); in CalcMinMaxBorder() 626 aRightMF.SetMax( aRightMF.Normalize(nMin), eUnit ); in CalcMinMaxBorder() 635 nMin = nMinHeight - (nUp >= 0 ? nUp : 0); in CalcMinMaxBorder() 636 aBottomMF.SetMax( aBottomMF.Normalize(nMin), eUnit ); in CalcMinMaxBorder() 639 nMin = nMinHeight - (nLow >= 0 ? nLow : 0); in CalcMinMaxBorder() 640 aTopMF.SetMax( aTopMF.Normalize(nMin), eUnit ); in CalcMinMaxBorder()
|
/trunk/main/slideshow/source/engine/ |
H A D | color.cxx | 59 const double nMin( ::std::min(nRed,::std::min(nGreen, nBlue)) ); in rgb2hsl() local 61 const double nDelta( nMax - nMin ); in rgb2hsl() 63 aRes.mnLuminance = (nMax + nMin) / 2.0; in rgb2hsl() 75 nDelta/(2.0-nMax-nMin) : in rgb2hsl() 76 nDelta/(nMax + nMin); in rgb2hsl()
|