/aoo4110/main/sc/source/core/data/ |
H A D | attarray.cxx | 371 aAdrStart.SetRow( Max(nStartRow,ns) ); in SetPatternArea() 1147 sal_uInt16 nWidth = Max( rLine.GetOutWidth(), rLine.GetInWidth() ); in lcl_LineSize() 2305 nStart = Max( (SCROW)nStart, (SCROW)(pData[i].nRow + 1) ); in MoveTo() 2319 SCROW nDestStart = Max((long)((long)nStartRow + nDy), (long) 0); in CopyArea() 2373 nDestStart = Max((long)nDestStart, (long)(pData[i].nRow + nDy + 1)); in CopyArea() 2385 SCROW nDestStart = Max((long)((long)nStartRow + nDy), (long) 0); in CopyAreaSafe() 2416 nDestStart = Max((long)nDestStart, (long)(pData[i].nRow + nDy + 1)); in CopyAreaSafe()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | consoli.cxx | 345 nMax = Max( nMax, ppRefs[nArrX][nArrY].GetCount() ); in AddName() 677 nNeeded = Max( nNeeded, ppRefs[nArrX][nArrY].GetCount() ); in GetInsertCount() 756 nNeeded = Max( nNeeded, ppRefs[nArrX][nArrY].GetCount() ); in OutputToDocument()
|
/aoo4110/main/sc/source/ui/view/ |
H A D | hdrcont.cxx | 168 DoPaint( Min( nNewEnd, nOldEnd ) + 1, Max( nNewEnd, nOldEnd ) ); in SetMark() 172 DoPaint( Min( nNewStart, nOldStart ), Max( nNewStart, nOldStart ) - 1 ); in SetMark() 180 DoPaint( Min( nNewStart, nOldStart ), Max( nNewEnd, nOldEnd ) ); in SetMark()
|
H A D | prevwsh.cxx | 452 nNew = Max( (long) MINZOOM, (long)( nOld - SC_DELTA_ZOOM ) ); in ScrollCommand() 935 long nHRange = pHorScroll->GetRange().Max(); in DoScroll() 938 long nVRange = pVerScroll->GetRange().Max(); in DoScroll()
|
/aoo4110/main/sw/source/core/view/ |
H A D | viewimp.cxx | 89 ( rSz.Width() ? rSz.Width() /Max(short(1),pNewOpt->GetDivisionX()):0, in Init() 90 rSz.Height()? rSz.Height()/Max(short(1),pNewOpt->GetDivisionY()):0); in Init()
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | docsh6.cxx | 101 Point aNewPos( 0, Max( aArea.Top(), (long) 0 ) ); in SetVisAreaOrSize() 109 aNewPos.X() = Max( aArea.Left(), (long) 0 ); in SetVisAreaOrSize()
|
/aoo4110/main/sw/source/ui/frmdlg/ |
H A D | column.cxx | 640 aCLNrEdt.SetMax(Max((sal_uInt16)aCLNrEdt.GetMax(), (sal_uInt16)nCols)); in Reset() 641 aCLNrEdt.SetLast(Max(nCols,(sal_uInt16)aCLNrEdt.GetMax())); in Reset() 796 aCLNrEdt.SetMax(Max(1L, 876 aCLNrEdt.SetMax(Max(1L, in Init()
|
/aoo4110/main/sw/source/core/doc/ |
H A D | doctxm.cxx | 2255 for(short i = (short)aRange.Min(); i < (short)aRange.Max(); ++i) in InsertSorted() 2269 aRange.Max()--; in InsertSorted() 2280 for( i = (short)aRange.Min(); i < (short)aRange.Max(); ++i) in InsertSorted() 2315 while( TOX_INDEX == SwTOXBase::GetType() && i < aRange.Max() && in InsertSorted() 2341 ASSERT(rRange.Min() >= 0 && rRange.Max() >= 0, "Min Max < 0"); in GetKeyRange() 2344 const sal_uInt16 nMax = (sal_uInt16)rRange.Max(); in GetKeyRange()
|
/aoo4110/main/sw/source/core/layout/ |
H A D | anchoredobject.cxx | 704 maObjRectWithSpaces.Top ( Max( maObjRectWithSpaces.Top() - long(rUL.GetUpper()), 0L )); in GetObjRectWithSpaces() 705 maObjRectWithSpaces.Left( Max( maObjRectWithSpaces.Left()- long(rLR.GetLeft()), 0L )); in GetObjRectWithSpaces()
|
H A D | fly.cxx | 964 aOld.Top( Max( aOld.Top() - long(rUL.GetUpper()), 0L ) ); in _UpdateAttr() 967 aOld.Left ( Max( aOld.Left() - long(rLR.GetLeft()), 0L ) ); in _UpdateAttr() 1056 aOld.Top( Max( aOld.Top() - long(rUL.GetUpper()), 0L ) ); in _UpdateAttr() 1062 aOld.Left ( Max( aOld.Left() - long(rLR.GetLeft()), 0L ) ); in _UpdateAttr() 1530 nNewSize = Max( nNewSize - nLR, nAutoWidth ); in Format()
|
H A D | flylay.cxx | 367 Frm().Pos().Y() = Max( aClip.Top(), nClipBot - Frm().Height() ); in CheckClip() 376 Frm().Pos().X() = Max( aClip.Left(), nClipRig - Frm().Width() ); in CheckClip() 491 Frm().Width ( Max( long(MINLAY), aFrmRect.Width() ) ); in CheckClip()
|
H A D | frmtool.cxx | 2875 aTmp.Right( Max(aFrm.Left(), rOld.Left()) ); in Notify() 2885 aTmp.Right( Max(nNew, nOld) ); in Notify() 2893 aTmp.Bottom( Max(aFrm.Top(), rOld.Top()) ); in Notify() 2903 aTmp.Bottom( Max(nNew, nOld) ); in Notify() 3290 nFlyAdd = Max( 0L, nFlyAdd - nLow ); in lcl_CalcCellRstHeight() 3291 nFlyAdd = Max( nFlyAdd, ::CalcHeightWidthFlys( pLow ) ); in lcl_CalcCellRstHeight()
|
/aoo4110/main/svx/source/gallery2/ |
H A D | galobj.cxx | 149 const Size aNewSize( Max( (long) (fFactor < 1. ? S_THUMB * fFactor : S_THUMB), 8L ), in CreateThumb() 150 Max( (long) (fFactor < 1. ? S_THUMB : S_THUMB / fFactor), 8L ) ); in CreateThumb()
|
/aoo4110/main/sd/source/ui/slideshow/ |
H A D | showwin.cxx | 598 …const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOu… in DrawPauseScene() 599 … Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) ); in DrawPauseScene()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 305 long nMaxColorSteps = Max( nAbsRedSteps , nAbsGreenSteps ); in ImplDrawLinearGradient() 306 nMaxColorSteps = Max( nMaxColorSteps, nAbsBlueSteps ); in ImplDrawLinearGradient() 505 long nSteps = Max( nStepCount, 2L ); in ImplDrawComplexGradient() 1175 …const long nWidth = ImplDevicePixelToLogicWidth( Max( ImplLogicWidthToDevicePixel( rHatch.GetDista… in ImplDrawHatch()
|
/aoo4110/main/toolkit/source/controls/ |
H A D | unocontrols.cxx | 308 if ( _rSel.Min > _rSel.Max ) in lcl_normalize() 309 ::std::swap( _rSel.Min, _rSel.Max ); in lcl_normalize() 332 sal_Int32 nDeletedCharacters = ( aSelection.Max - aSelection.Min ) - rNewText.getLength(); in insertText() 335 if ( aNewSelection.Max > aSelection.Max ) in insertText() 336 aNewSelection.Max -= nDeletedCharacters; in insertText() 338 aNewSelection.Max = ::std::min( aNewSelection.Min, aNewSelection.Max ) + rNewText.getLength(); in insertText() 339 aNewSelection.Min = aNewSelection.Max; in insertText() 343 …::rtl::OUString aNewText = aOldText.replaceAt( aSelection.Min, aSelection.Max - aSelection.Min, r… in insertText()
|
/aoo4110/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 433 long nWidth = Max( (long)1, ( !IsVertical() ? aPaperSize.Width() : aPaperSize.Height() ) ); in FormatDoc() 460 aInvalidRec.Bottom() = (long)Max( nNewHeight, nCurTextHeight ); in FormatDoc() 890 nTextExtraYOffset += Max( (long)(nTextLineHeight / 10), (long)1 ); in CreateLines() 2125 sal_uInt16 nSavPos = aWordSel.Max().GetIndex(); in ImpFindKashidas() 2126 if ( aWordSel.Max().GetIndex() > nEnd ) in ImpFindKashidas() 2127 aWordSel.Max().GetIndex() = nEnd; in ImpFindKashidas() 2132 aWordSel.Max().GetIndex() = nSavPos; in ImpFindKashidas() 2226 aWordSel = WordRight( aWordSel.Max(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in ImpFindKashidas() 3983 sal_uInt16 nLastPortion = Max( (sal_uInt16)aOldPositions.Max(), nNewPos ); in MoveParagraphs()
|
H A D | impedit.hxx | 1052 ContentNode* pEndNode = rSel.Max().GetNode(); in CreateESel() 1057 aESel.nEndPos = rSel.Max().GetIndex(); in CreateESel() 1068 aSel.Max().SetNode( aEditDoc[ rSel.nEndPara ] ); in CreateSel() 1069 aSel.Max().SetIndex( rSel.nEndPos ); in CreateSel()
|
/aoo4110/main/sal/osl/unx/ |
H A D | process.c | 133 sal_uInt32 Max); 149 sal_Char Separator, sal_Char *pszBuffer, sal_uInt32 Max) in osl_searchPath_impl() argument 192 if( NULL == realpath(path, szRealPathBuf) || (strlen(szRealPathBuf) >= (sal_uInt32)Max)) in osl_searchPath_impl()
|
/aoo4110/main/formula/source/ui/dlg/ |
H A D | funcutl.cxx | 916 if(aNewSel.Min()!=aOldSel.Min() || aNewSel.Max()!=aOldSel.Max()) in IMPL_LINK()
|
/aoo4110/main/cui/source/options/ |
H A D | fontsubs.cxx | 116 long nMax = Max( nW1, nW2 ) + 6; // width of the longest header + a little offset in SvxFontSubstTabPage() 118 nMax = Max( nMax, nMin ); in SvxFontSubstTabPage()
|
/aoo4110/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 226 ( bVertL2R ? Min( nFrmMaxY, nUpperMaxY ) : Max( nFrmMaxY, nUpperMaxY ) ) : in GetCharRect() 399 …( bVertL2R ? Min( (pFrm->*fnRect->fnGetPrtBottom)(), nUpperMaxY ) : Max( (pFrm->*fnRect->fnGetPrtB… in GetAutoPos() 1465 SwTwips nDist = Max( rUL.GetLower(), rUL.GetUpper() ); in FillCrsrPos() 1476 nDist = Max( nDist, long( GetLineSpace() ) ); in FillCrsrPos()
|
/aoo4110/main/svtools/source/filter/ |
H A D | sgvtext.cxx | 329 long ChgValue(long Def, long Min, long Max, UCHAR FlgVal, long NumVal) in ChgValue() argument 339 if (Min!=0 || Max!=0) { in ChgValue() 340 if (r>Max) r=Max; in ChgValue()
|
/aoo4110/main/starmath/source/ |
H A D | view.cxx | 411 nZoom = Min(Max((sal_uInt16) Factor, (sal_uInt16) MINZOOM), (sal_uInt16) MAXZOOM); in IMPL_LINK_INLINE_END() 937 TextSize.Width() = Max(TextSize.Width(), Min(aSize.Width(), MaxWidth)); in GetTextSize() 948 TextSize.Width() = Max(TextSize.Width(), aSize.Width()); in GetTextSize() 1166 …Fraction aFraction ((sal_uInt16) Max ((sal_uInt16) MINZOOM, Min((sal_uInt16) MAXZOOM, (sal_uInt16)… in Impl_Print()
|
/aoo4110/main/sc/source/ui/navipi/ |
H A D | navipi.cxx | 590 aNavSize.Width() = Max( aInfoSize.Width(), aNavSize.Width() ); in SFX_IMPL_CHILDWINDOWCONTEXT() 591 aNavSize.Height() = Max( aInfoSize.Height(), aNavSize.Height() ); in SFX_IMPL_CHILDWINDOWCONTEXT() 592 pNavigator->nListModeHeight = Max( aNavSize.Height(), pNavigator->nListModeHeight ); in SFX_IMPL_CHILDWINDOWCONTEXT()
|