Home
last modified time | relevance | path

Searched refs:limit_cast (Results 1 – 17 of 17) sorted by relevance

/trunk/main/sc/source/filter/excel/
H A Dxeescher.cxx705 … mnScrollMin = limit_cast< sal_uInt16 >( nApiValue, EXC_OBJ_SCROLLBAR_MIN, EXC_OBJ_SCROLLBAR_MAX ); in XclExpTbxControlObj()
707 … mnScrollMax = limit_cast< sal_uInt16 >( nApiValue, mnScrollMin, EXC_OBJ_SCROLLBAR_MIN ); in XclExpTbxControlObj()
709 mnScrollValue = limit_cast< sal_uInt16 >( nApiValue, mnScrollMin, mnScrollMax ); in XclExpTbxControlObj()
711 …mnScrollStep = limit_cast< sal_uInt16 >( nApiValue, EXC_OBJ_SCROLLBAR_MIN, EXC_OBJ_SCROLLBAR_MAX ); in XclExpTbxControlObj()
713 …mnScrollPage = limit_cast< sal_uInt16 >( nApiValue, EXC_OBJ_SCROLLBAR_MIN, EXC_OBJ_SCROLLBAR_MAX ); in XclExpTbxControlObj()
723 … mnScrollMin = limit_cast< sal_uInt16 >( nApiValue, EXC_OBJ_SCROLLBAR_MIN, EXC_OBJ_SCROLLBAR_MAX ); in XclExpTbxControlObj()
725 … mnScrollMax = limit_cast< sal_uInt16 >( nApiValue, mnScrollMin, EXC_OBJ_SCROLLBAR_MAX ); in XclExpTbxControlObj()
727 mnScrollValue = limit_cast< sal_uInt16 >( nApiValue, mnScrollMin, mnScrollMax ); in XclExpTbxControlObj()
729 …mnScrollStep = limit_cast< sal_uInt16 >( nApiValue, EXC_OBJ_SCROLLBAR_MIN, EXC_OBJ_SCROLLBAR_MAX ); in XclExpTbxControlObj()
808 …mnScrollMax = limit_cast< sal_uInt16 >( nInvisLines, EXC_OBJ_SCROLLBAR_MIN, EXC_OBJ_SCROLLBAR_MAX … in WriteSubRecs()
[all …]
H A Dxechart.cxx179 return ::limit_cast< sal_uInt16, double >( fSerialDate, 0, SAL_MAX_UINT16 ); in lclGetTimeValue()
187 return ::limit_cast< sal_uInt16, double >( fSerialDate, 0, SAL_MAX_UINT16 ); in lclGetTimeValue()
217 rnValue = ::limit_cast< sal_uInt16, sal_Int32 >( aInterval.Number, 1, SAL_MAX_UINT16 ); in lclConvertTimeInterval()
1534 SetValue( limit_cast< sal_uInt16 >( fApiDist * 100.0, 0, 100 ) ); in Convert()
2149 maData.mnGap = limit_cast< sal_uInt16 >( aInt32Seq[ nApiAxesSetIdx ], 0, 500 ); in Convert()
2246 maData.mnElevation = limit_cast< sal_Int16 >( nRotationX, -90, 90 ); in Convert()
2248 maData.mnEyeDist = limit_cast< sal_uInt16 >( nPerspective, 0, 100 ); in Convert()
2260 maData.mnElevation = limit_cast< sal_Int16 >( (nRotationX + 270) % 180, 10, 80 ); in Convert()
2262 maData.mnEyeDist = limit_cast< sal_uInt16 >( nPerspective, 0, 100 ); in Convert()
2664 maLabelData.mnCross = limit_cast< sal_uInt16 >( fOrigin, 1, 31999 ); in Convert()
[all …]
H A Dxltools.cxx330 return limit_cast< sal_uInt16 >( fScWidth ); in GetScColumnWidth()
336 return limit_cast< sal_uInt16 >( fXclWidth ); in GetXclColumnWidth()
H A Dimpop.cxx264 …aXclUsedArea.maLast.mnRow = limit_cast< sal_uInt16 >( nXclRow2, aXclUsedArea.maFirst.mnRow, SAL_MA… in ReadDimensions()
665 …sal_uInt16 nScWidth = XclTools::GetScColumnWidth( limit_cast< sal_uInt16 >( fDefWidth ), GetCharWi… in DefColWidth()
H A Dxiview.cxx191 maData.mnCurrentZoom = limit_cast< sal_uInt16 >( (nNum * 100) / nDenom ); in ReadScl()
H A Dxichart.cxx822 return limit_cast< sal_uInt16 >( nCellCount ); in GetCellCount()
2372 nRotationX = limit_cast< sal_Int32, sal_Int32 >( maData.mnElevation, -90, 90 ); in Convert()
2374 nPerspective = limit_cast< sal_Int32, sal_Int32 >( maData.mnEyeDist, 0, 100 ); in Convert()
2391 nRotationX = limit_cast< sal_Int32, sal_Int32 >( maData.mnElevation, 10, 80 ) - 90; in Convert()
2393 nPerspective = limit_cast< sal_Int32, sal_Int32 >( maData.mnEyeDist, 0, 100 ); in Convert()
H A Dxestring.cxx544 mnLen = limit_cast< sal_uInt16 >( nNewLen, 0, nAllowedLen ); in SetStrLen()
H A Dxeview.cxx291 sal_uInt16 nXclZoom = limit_cast< sal_uInt16 >( nScZoom, EXC_ZOOM_MIN, EXC_ZOOM_MAX ); in lclGetXclZoom()
H A Dxihelper.cxx99 aScPos.SetTab( limit_cast< SCTAB >( nScTab, 0, maMaxPos.Tab() ) ); in CreateValidAddress()
H A Dxlpivot.cxx657 ::insert_value( mnFlags, limit_cast< sal_uInt8 >( nShowCount ), 24, 8 ); in SetApiAutoShowCount()
H A Dxeformula.cxx1305 sal_uInt16 nCols = ::limit_cast< sal_uInt16 >( nScCols, 0, 256 ); in ProcessMatrix()
1306 sal_uInt16 nRows = ::limit_cast< sal_uInt16 >( nScRows, 0, 1024 ); in ProcessMatrix()
H A Dxlformula.cxx516 return limit_cast< sal_uInt16 >( maTokVec.size() ); in GetSize()
H A Dxepivot.cxx570 sal_Int16 nStep = bUseStep ? limit_cast< sal_Int16 >( rDateInfo.Step, 1, SAL_MAX_INT16 ) : 1; in SetDateGroupLimit()
H A Dxetable.cxx1574 SetValue( limit_cast< sal_uInt16 >( fNewColWidth / 256.0 + 0.5 ) ); in SetDefWidth()
H A Dxestyle.cxx1388 mnIndent = limit_cast< sal_uInt8 >( nTmpIndent, 0, 15 ); in FillFromItemSet()
H A Dxiescher.cxx1142 …sal_uInt8 nLineWidth = ::limit_cast< sal_uInt8 >( maLineData.mnWidth, EXC_OBJ_LINE_THIN, EXC_OBJ_L… in DoCreateSdrObj()
/trunk/main/sc/source/filter/inc/
H A Dftools.hxx83 inline ReturnType limit_cast( Type nValue, ReturnType nMin, ReturnType nMax ) in limit_cast() function
88 inline ReturnType limit_cast( Type nValue ) in limit_cast() function
89 { return limit_cast( nValue, ::std::numeric_limits< ReturnType >::min(), ::std::numeric_limits< Ret… in limit_cast()

Completed in 167 milliseconds