/aoo41x/main/sc/source/filter/excel/ |
H A D | xeescher.cxx | 705 … 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 D | xechart.cxx | 179 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 D | xltools.cxx | 330 return limit_cast< sal_uInt16 >( fScWidth ); in GetScColumnWidth() 336 return limit_cast< sal_uInt16 >( fXclWidth ); in GetXclColumnWidth()
|
H A D | xiview.cxx | 191 maData.mnCurrentZoom = limit_cast< sal_uInt16 >( (nNum * 100) / nDenom ); in ReadScl()
|
H A D | impop.cxx | 264 …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 D | xichart.cxx | 822 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 D | xestring.cxx | 544 mnLen = limit_cast< sal_uInt16 >( nNewLen, 0, nAllowedLen ); in SetStrLen()
|
H A D | xeview.cxx | 291 sal_uInt16 nXclZoom = limit_cast< sal_uInt16 >( nScZoom, EXC_ZOOM_MIN, EXC_ZOOM_MAX ); in lclGetXclZoom()
|
H A D | xihelper.cxx | 99 aScPos.SetTab( limit_cast< SCTAB >( nScTab, 0, maMaxPos.Tab() ) ); in CreateValidAddress()
|
H A D | xlpivot.cxx | 659 ::insert_value( mnFlags, limit_cast< sal_uInt8 >( nShowCount ), 24, 8 ); in SetApiAutoShowCount()
|
H A D | xlformula.cxx | 516 return limit_cast< sal_uInt16 >( maTokVec.size() ); in GetSize()
|
H A D | xeformula.cxx | 1305 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 D | xepivot.cxx | 570 sal_Int16 nStep = bUseStep ? limit_cast< sal_Int16 >( rDateInfo.Step, 1, SAL_MAX_INT16 ) : 1; in SetDateGroupLimit()
|
H A D | xetable.cxx | 1574 SetValue( limit_cast< sal_uInt16 >( fNewColWidth / 256.0 + 0.5 ) ); in SetDefWidth()
|
H A D | xestyle.cxx | 1388 mnIndent = limit_cast< sal_uInt8 >( nTmpIndent, 0, 15 ); in FillFromItemSet()
|
H A D | xiescher.cxx | 1142 …sal_uInt8 nLineWidth = ::limit_cast< sal_uInt8 >( maLineData.mnWidth, EXC_OBJ_LINE_THIN, EXC_OBJ_L… in DoCreateSdrObj()
|
/aoo41x/main/sc/source/filter/inc/ |
H A D | ftools.hxx | 83 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()
|