Home
last modified time | relevance | path

Searched refs:nDenom (Results 1 – 6 of 6) sorted by relevance

/trunk/main/basegfx/source/tools/
H A Dliangbarsky.cxx40 inline bool liangBarskyClipT( double nDenom, in liangBarskyClipT() argument
46 if( nDenom > 0 ) in liangBarskyClipT()
48 t = nNumerator / nDenom; in liangBarskyClipT()
54 else if( nDenom < 0 ) in liangBarskyClipT()
56 t = nNumerator / nDenom; in liangBarskyClipT()
/trunk/main/sc/source/filter/excel/
H A Dxiview.cxx187 sal_uInt16 nNum, nDenom; in ReadScl() local
188 rStrm >> nNum >> nDenom; in ReadScl()
189 DBG_ASSERT( nDenom > 0, "XclImpPageSettings::ReadScl - invalid denominator" ); in ReadScl()
190 if( nDenom > 0 ) in ReadScl()
191 maData.mnCurrentZoom = limit_cast< sal_uInt16 >( (nNum * 100) / nDenom ); in ReadScl()
/trunk/main/oox/source/xls/
H A Dviewsettings.cxx441 sal_uInt16 nNum, nDenom; in importScl() local
442 rStrm >> nNum >> nDenom; in importScl()
443 OSL_ENSURE( nDenom > 0, "SheetViewSettings::importScl - invalid denominator" ); in importScl()
444 if( nDenom > 0 ) in importScl()
445 …back()->mnCurrentZoom = getLimitedValue< sal_Int32, sal_uInt16 >( (nNum * 100) / nDenom, 10, 400 ); in importScl()
/trunk/main/vcl/source/gdi/
H A Doutmap.cxx457 long nDenom = nDPI * nMapNum; in ImplPixelToLogic() local
458 n = (long)(2 * n64 / nDenom); in ImplPixelToLogic()
465 long nDenom = nDPI * nMapNum; in ImplPixelToLogic() local
467 if( (nNum ^ nDenom) >= 0 ) in ImplPixelToLogic()
468 nNum += nDenom/2; in ImplPixelToLogic()
470 nNum -= nDenom/2; in ImplPixelToLogic()
471 return (nNum / nDenom); in ImplPixelToLogic()
/trunk/main/starmath/source/
H A Dnode.cxx2731 long nDenom = SmRect(aTmpDev, NULL, GetText(), nTmpBorderWidth).GetItalicWidth(); in AdaptToX() local
2735 aFntSize.Width() /= nDenom ? nDenom : 1; in AdaptToX()
2767 long nDenom = SmRect(aTmpDev, NULL, GetText(), nTmpBorderWidth).GetHeight(); in AdaptToY() local
2771 aFntSize.Height() /= nDenom ? nDenom : 1; in AdaptToY()
H A Dparse.cxx1990 long nDenom = aValue.GetDenominator(); in FontSize() local
1991 while (nDenom > 1000) in FontSize()
1994 nDenom /= 10; in FontSize()
1996 aValue = Fraction( nNum, nDenom ); in FontSize()

Completed in 64 milliseconds