/trunk/main/tools/source/fsys/ |
H A D | dirent.cxx | 285 ByteString ImplCutPath( const ByteString& rStr, sal_uInt16 nMax, char cAccDel ) in ImplCutPath() argument 287 sal_uInt16 nMaxPathLen = nMax; in ImplCutPath()
|
/trunk/main/sw/source/core/access/ |
H A D | accportions.cxx | 455 size_t nMax = rPositions.size()-2; in FindBreak() local 458 while( nMin+1 < nMax ) in FindBreak() 464 DBG_ASSERT( nValue <= rPositions[nMax], "max value not maximal" ); in FindBreak() 467 size_t nMiddle = (nMin + nMax)/2; in FindBreak() 469 DBG_ASSERT( nMiddle < nMax, "progress?" ); in FindBreak() 474 DBG_ASSERT( rPositions[nMiddle] <= rPositions[nMax], in FindBreak() 480 nMax = nMiddle; in FindBreak() 484 DBG_ASSERT( (nMax == nMin) || (nMax == nMin+1), "only two left" ); in FindBreak()
|
/trunk/main/sot/source/base/ |
H A D | exchange.cxx | 243 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatName() local 251 nMax = SOT_FORMATSTR_ID_USER_END; in RegisterFormatName() 260 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatName() 283 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatMimeType() local 288 nMax = SOT_FORMATSTR_ID_USER_END; in RegisterFormatMimeType() 295 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatMimeType() 411 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in GetFormatIdFromMimeType() local 419 nMax = SOT_FORMATSTR_ID_USER_END; in GetFormatIdFromMimeType() 429 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in GetFormatIdFromMimeType() 459 nMax = SOT_FORMATSTR_ID_USER_END; in GetFormat() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | toolbox.cxx | 753 long nMax; in ImplCalcSize() local 824 nMax = 0; in ImplCalcSize() 826 if ( nMax ) in ImplCalcSize() 827 aSize.Width() += nMax; in ImplCalcSize() 842 nMax = 0; in ImplCalcSize() 844 if ( nMax ) in ImplCalcSize() 2448 nMax = mnDX; in ImplFormat() 2477 nMax -= mnBorderX*2; in ImplFormat() 2495 nMax = mnDY; in ImplFormat() 2520 nMax -= mnBorderY*2; in ImplFormat() [all …]
|
H A D | splitwin.cxx | 3263 sal_uInt16 nMax; in SplitItem() local 3293 nMax = nItems; in SplitItem() 3301 nMax = i; in SplitItem() 3330 else if ( nPos >= nMax ) in SplitItem() 3364 while ( n < nMax ); in SplitItem() 3458 while ( n < nMax ); in SplitItem() 3479 while ( n < nMax ); in SplitItem()
|
/trunk/main/sw/source/core/undo/ |
H A D | untbl.cxx | 1553 nMin( nMn ), nMax( nMx ), in SwUndoTblNdsChg() 1576 nMin( 0 ), nMax( 0 ), in SwUndoTblNdsChg() 1942 if( nMax > nMin && rTable.IsNewModel() ) in RedoImpl() 1943 rTable.PrepareDeleteCol( nMin, nMax ); in RedoImpl()
|
/trunk/main/sw/source/core/text/ |
H A D | itrcrsr.cxx | 441 SwCrsrMoveState* pCMS, const long nMax ) in GetEndCharRect() argument 459 return GetCharRect( pOrig, nOfst, pCMS, nMax ); in GetEndCharRect() 1198 SwCrsrMoveState* pCMS, const long nMax ) in GetCharRect() argument 1247 if( nMax ) in GetCharRect() 1251 if( pOrig->Top() > nMax ) in GetCharRect() 1252 pOrig->Top( nMax ); in GetCharRect() 1253 pOrig->Height( nMax - pOrig->Top() ); in GetCharRect() 1258 if( nTmp >= nMax ) in GetCharRect() 1260 pCMS->aRealHeight.X() = nMax - pOrig->Top(); in GetCharRect() 1263 else if( nTmp + pCMS->aRealHeight.Y() > nMax ) in GetCharRect() [all …]
|
H A D | txtfly.cxx | 1603 SwTwips nMax = (pCurrFrm->GetUpper()->*fnRect->fnGetPrtBottom)(); in InitAnchoredObjList() local 1604 if( (*fnRect->fnYDiff)( nMinBottom, nMax ) > 0 ) in InitAnchoredObjList() 1605 nMinBottom = nMax; in InitAnchoredObjList() 1647 SwTwips nMax = pCurrFrm->GetUpper()->Frm().Top() + in CalcMinBottom() local 1649 if( nRet > nMax ) in CalcMinBottom() 1650 nRet = nMax; in CalcMinBottom()
|
H A D | txtdrop.cxx | 818 long nMax = KSHRT_MAX; in CalcFontSize() local 941 nMax = nFactor; in CalcFontSize() 950 bGrow = ( nFactor > nMin ) && ( nFactor < nMax ); in CalcFontSize()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 2850 sal_uInt16 nMax = pNode->GetText().Len(); in SetAttrib() local 2851 if ( nStart > nMax ) in SetAttrib() 2852 nStart = nMax; in SetAttrib() 2853 if ( nEnd > nMax ) in SetAttrib() 2854 nEnd = nMax; in SetAttrib()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 1551 if ( aTmpPaM.GetIndex() < nMax ) in WordLeft() 1567 xub_StrLen nMax = rPaM.GetNode()->Len(); in WordRight() local 1569 if ( aNewPaM.GetIndex() < nMax ) in WordRight() 1582 if ( aNewPaM.GetIndex() >= nMax ) in WordRight() 1603 xub_StrLen nMax = rPaM.GetNode()->Len(); in StartOfWord() local 1604 if ( aTmpPaM.GetIndex() < nMax ) in StartOfWord() 1621 xub_StrLen nMax = rPaM.GetNode()->Len(); in EndOfWord() local 1622 if ( aTmpPaM.GetIndex() < nMax ) in EndOfWord() 1641 if ( aTmpPaM.GetIndex() < nMax ) in SelectWord() 4015 if ( nOffset < nMax ) in GetChar() [all …]
|
H A D | impedit3.cxx | 1766 sal_uInt16 nMax = nBreakInLine + pPortion->GetLen(); in ImpBreakLine() local 1767 while ( ( nBreakInLine < nMax ) && ( pLine->GetCharPosArray()[nBreakInLine] < nRemainingWidth ) ) in ImpBreakLine() 1779 …if ( ( nMaxBreakPos < ( nMax + pLine->GetStart() ) ) && ( pNode->GetChar( nMaxBreakPos ) == ' ' ) ) in ImpBreakLine()
|
/trunk/main/winaccessibility/source/UAccCOM/ |
H A D | MAccessible.cpp | 1699 long nMax = 0; in get_relation() local 1701 get_nRelations(&nMax); in get_relation() 1711 if( relationIndex < nMax ) in get_relation()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par.hxx | 424 inline ReturnType ulimit_cast( Type nValue, ReturnType nMax ) in ulimit_cast() argument 425 { return static_cast< ReturnType >( ::std::min< Type >( nValue, nMax ) ); } in ulimit_cast()
|
H A D | wrtw8esh.cxx | 2177 sal_Int32 SwBasicEscherEx::ToFract16(sal_Int32 nVal, sal_uInt32 nMax) const in ToFract16() 2179 if (nMax) in ToFract16() 2181 sal_Int32 nMSVal = (nVal / 65536) * nMax; in ToFract16() 2182 nMSVal += (nVal * 65536 ) / nMax; in ToFract16()
|
/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 828 sal_Int32 nMax = aPixSize.Width() + aPixSize.Height(); in DrawShading() local 829 for( sal_Int32 i = 5; i < nMax; i += 5 ) in DrawShading()
|
/trunk/main/sw/source/core/view/ |
H A D | vprint.cxx | 331 void ViewShell::CalcPagesForPrint( sal_uInt16 nMax ) in CalcPagesForPrint() argument 341 for ( sal_uInt16 i = 1; pPage && i <= nMax; pPage = pPage->GetNext(), ++i ) in CalcPagesForPrint()
|
/trunk/main/sfx2/source/bastyp/ |
H A D | progress.cxx | 80 sal_uIntPtr nMax; member 182 pImp->nMax = nRange; in SfxProgress() 272 pImp->xStatusInd->start( pImp->aText, pImp->nMax ); in SetText() 371 if ( nNewRange && nNewRange != pImp->nMax ) in SetState() 374 pImp->nMax, nNewRange ) ); in SetState() 375 pImp->nMax = nNewRange; in SetState() 425 pImp->xStatusInd->start( pImp->aText, pImp->nMax ); in SetState() 457 pImp->xStatusInd->start( pImp->aText, pImp->nMax ); in Resume()
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpbox.cxx | 193 short nMax = Max(nExpWidth, nColWidth); in UpdateContextBmpWidthVectorFromMovedEntry() local 194 UpdateContextBmpWidthVector( pEntry, nMax ); in UpdateContextBmpWidthVectorFromMovedEntry() 846 long nMax = aOutputSize.Height(); in MakePointVisible() local 847 if( nY < 0 || nY >= nMax ) // aOutputSize.Height() ) in MakePointVisible() 1103 sal_uLong nMax = nVisibleCount + nOffs + 1; in DrawNet() local 1107 for( sal_uLong n=0; n< nMax && pEntry; n++ ) in DrawNet() 1519 long nMax = nVisibleCount * pView->GetEntryHeight(); in IsEntryInView() local 1520 if( nY >= nMax ) in IsEntryInView()
|
/trunk/main/svtools/inc/svtools/ |
H A D | ruler.hxx | 718 …SVT_DLLPRIVATE void ImplDrawTicks( long nMin, long nMax, long nStart, long nCenter … 720 …SVT_DLLPRIVATE void ImplDrawBorders( long nMin, long nMax, long nVirTop, long nVirB… 722 …SVT_DLLPRIVATE void ImplDrawIndents( long nMin, long nMax, long nVirTop, long nVirB… 724 …SVT_DLLPRIVATE void ImplDrawTabs( long nMin, long nMax, long nVirTop, long nVirBott…
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 250 sal_uInt16 nMax = 0; in ImplCreateDitherMatrix() local 1400 long nMax = 1 << 7L; in ImplScaleSuper() local 1552 nWeightY = nMax; in ImplScaleSuper() 1560 nWeightY = nMax; in ImplScaleSuper() 1696 nWeightY = nMax; in ImplScaleSuper() 1704 nWeightY = nMax; in ImplScaleSuper() 1842 nWeightY = nMax; in ImplScaleSuper() 1850 nWeightY = nMax; in ImplScaleSuper() 1986 nWeightY = nMax; in ImplScaleSuper() 1994 nWeightY = nMax; in ImplScaleSuper() [all …]
|
/trunk/main/sw/source/ui/sidebar/ |
H A D | PageMarginControl.cxx | 156 long nMax = nPW - nMR - MINBODY; in SetMetricFieldMaxValues() local 157 maLeftMarginEdit.SetMax(maLeftMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues() 160 nMax = nPW - nML - MINBODY; in SetMetricFieldMaxValues() 161 maRightMarginEdit.SetMax(maRightMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues() 164 nMax = nPH - nMB - MINBODY; in SetMetricFieldMaxValues() 165 maTopMarginEdit.SetMax(maTopMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues() 168 nMax = nPH - nMT - MINBODY; in SetMetricFieldMaxValues() 169 maBottomMarginEdit.SetMax(maTopMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues()
|
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
H A D | LineContainer.java | 59 int nMax = maLines.size()-1; 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() 66 nMax = nMed; in GetLineForY() 70 for (int nIndex=nMin; nIndex<=nMax; ++nIndex) in GetLineForY()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 218 sal_uInt16 nMax = rLine.Len(); in lcl_ConvertTabsToSpaces() local 219 while ( nPos < nMax ) in lcl_ConvertTabsToSpaces() 228 nMax = rLine.Len(); in lcl_ConvertTabsToSpaces()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoedge.cxx | 2035 sal_uInt16 nMax=pEdgeTrack->GetPointCount(); in MovCreate() local 2036 (*pEdgeTrack)[nMax-1]=rDragStat.GetNow(); in MovCreate()
|