/trunk/main/svtools/source/misc/ |
H A D | unitconv.cxx | 172 float nTmp = nIn; in CalcToUnit() local 175 nTmp = nIn * 10 / 567; in CalcToUnit() 179 case SFX_MAPUNIT_100TH_MM: nTmp *= 100; break; in CalcToUnit() 180 case SFX_MAPUNIT_10TH_MM: nTmp *= 10; break; in CalcToUnit() 182 case SFX_MAPUNIT_CM: nTmp /= 10; break; in CalcToUnit() 186 nTmp *= 20; in CalcToUnit() 187 long nRet = (long)nTmp; in CalcToUnit() 374 long nTmp = nRet % nMod; in CalcToPoint() local 376 if ( nTmp >= 4 ) in CalcToPoint() 377 nRet += 10 - nTmp; in CalcToPoint()
|
/trunk/main/xmloff/source/text/ |
H A D | txtfldi.cxx | 850 sal_uInt16 nTmp; in ProcessAttribute() local 919 sal_uInt16 nTmp; in ProcessAttribute() local 929 sal_Int32 nTmp; in ProcessAttribute() local 1552 sal_Int32 nTmp; in ProcessAttribute() local 1556 nNumber = nTmp; in ProcessAttribute() 1616 sal_Int32 nTmp; in ProcessAttribute() local 1619 nValue = nTmp; in ProcessAttribute() 1832 sal_Int32 nTmp; in PrepareField() local 1836 aAny <<= nTmp; in PrepareField() 2459 sal_Int32 nTmp; in ProcessAttribute() local [all …]
|
H A D | XMLTextMarkImportContext.cxx | 203 sal_uInt16 nTmp; in EndElement() local 204 if (SvXMLUnitConverter::convertEnum(nTmp, GetLocalName(), in EndElement() 207 switch ((lcl_MarkType)nTmp) in EndElement() 222 …bool bImportAsField=((lcl_MarkType)nTmp==TypeFieldmark && formFieldmarkName!=NULL); //@TODO handle… in EndElement() 230 if ((lcl_MarkType)nTmp==TypeFieldmark) { in EndElement() 251 == static_cast<lcl_MarkType>(nTmp))) in EndElement() 302 … bool bImportAsField=((lcl_MarkType)nTmp==TypeFieldmarkEnd && m_rHelper.hasCurrentFieldCtx()); in EndElement() 319 if ((lcl_MarkType)nTmp==TypeFieldmarkEnd) { in EndElement()
|
H A D | XMLIndexChapterInfoEntryContext.cxx | 110 sal_uInt16 nTmp; in StartElement() local 112 nTmp, xAttrList->getValueByIndex(nAttr), in StartElement() 115 nChapterInfo = nTmp; in StartElement() 121 sal_Int32 nTmp; in StartElement() local 123 if (SvXMLUnitConverter::convertNumber(nTmp, xAttrList->getValueByIndex(nAttr))) in StartElement() 126 nOutlineLevel = static_cast<sal_uInt16>(nTmp); in StartElement()
|
/trunk/main/sw/source/core/layout/ |
H A D | calcmove.cxx | 684 long nTmp = 0; in lcl_CheckObjects() local 694 nTmp = pFly->Frm().Bottom(); in lcl_CheckObjects() 698 nTmp = pObj->GetObjRect().Bottom(); in lcl_CheckObjects() 699 nMax = Max( nTmp, nMax ); in lcl_CheckObjects() 773 long nTmp = 0; in MakeAll() local 778 nTmp += pCnt->Frm().Height(); in MakeAll() 781 nTmp += ((SwTxtFrm*)pCnt)->GetParHeight() in MakeAll() 795 nTmp = Min( nTmp, pFrm->Frm().Height() ); in MakeAll() 805 nTmp = Min( nTmp, pFrm->Frm().Height() ); in MakeAll() 806 nBot += nTmp; in MakeAll() [all …]
|
H A D | atrfrm.cxx | 914 if ( nTmp != nRet ) in GetGutterWidth() 918 if ( nRet > nTmp ) in GetGutterWidth() 919 nRet = nTmp; in GetGutterWidth() 924 nRet = nTmp; in GetGutterWidth() 1046 nTmp *= GetWishWidth(); in Calc() 1047 nTmp /= nAct; in Calc() 2324 sal_Int32 nTmp = 0; in PutValue() local 2332 sal_Int16 nTmp = 0; in PutValue() local 2357 nTmp = MM100_TO_TWIP( nTmp ); in PutValue() 2358 if( bRet && (nTmp >= 0) && ( nTmp <= USHRT_MAX) ) in PutValue() [all …]
|
H A D | wsfrm.cxx | 1471 nChg = nTmp <= 0 ? 0 : nTmp; in AdjustNeighbourhood() 1475 const long nTmp = nUpPrtBottom + 20; in AdjustNeighbourhood() local 1476 aInva.Top( aInva.Bottom() - nTmp ); in AdjustNeighbourhood() 1477 aInva.Height( nChg + nTmp ); in AdjustNeighbourhood() 2414 if( nRet < nTmp ) in InnerHeight() 2415 nRet = nTmp; in InnerHeight() 2687 if ( nTmp != nReal ) in ShrinkFrm() 2695 nReal = nTmp; in ShrinkFrm() 3405 if ( nTmp != USHRT_MAX ) in lcl_CalcMinColDiff() 3408 nFirstDiff = nTmp; in lcl_CalcMinColDiff() [all …]
|
/trunk/main/starmath/source/ |
H A D | edit.cxx | 545 const long nTmp = GetSettings().GetStyleSettings().GetScrollBarSize(); in IMPL_LINK_INLINE_END() local 546 Point aPt( aRect.TopRight() ); aPt.X() -= nTmp -1L; in IMPL_LINK_INLINE_END() 547 pVScrollBar->SetPosSizePixel( aPt, Size(nTmp, aOut.Height() - nTmp)); in IMPL_LINK_INLINE_END() 549 aPt = aRect.BottomLeft(); aPt.Y() -= nTmp - 1L; in IMPL_LINK_INLINE_END() 550 pHScrollBar->SetPosSizePixel( aPt, Size(aOut.Width() - nTmp, nTmp)); in IMPL_LINK_INLINE_END() 554 pScrollBox->SetPosSizePixel(aPt, Size(nTmp, nTmp )); in IMPL_LINK_INLINE_END() 568 long nTmp = pEditEngine->GetTextHeight(); in SetScrollBarRanges() local 569 pVScrollBar->SetRange(Range(0, nTmp)); in SetScrollBarRanges() 572 nTmp = pEditEngine->GetPaperSize().Width(); in SetScrollBarRanges() 573 pHScrollBar->SetRange(Range(0,nTmp)); in SetScrollBarRanges()
|
/trunk/main/svx/source/sidebar/possize/ |
H A D | PosSizePropertyPanel.cxx | 707 sal_Int64 nTmp = dTmp*100; in IMPL_LINK() local 725 sal_Int32 nTmp = mpDial->GetRotation(); in IMPL_LINK() local 851 long nTmp = pItem->GetValue(); in NotifyItemUpdate() local 852 nTmp = Fraction( nTmp ) / maUIScale; in NotifyItemUpdate() 854 SetMetricValue( *mpMtrPosX, nTmp, mePoolUnit ); in NotifyItemUpdate() 869 long nTmp = pItem->GetValue(); in NotifyItemUpdate() local 870 nTmp = Fraction( nTmp ) / maUIScale; in NotifyItemUpdate() 969 long nTmp = pItem->GetValue(); in NotifyItemUpdate() local 971 mpMtrAngle->SetValue( nTmp ); in NotifyItemUpdate() 972 mpDial->SetRotation( nTmp ); in NotifyItemUpdate() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | redlnitr.cxx | 114 sal_uInt8 nTmp = 4; in CtorInitAttrIter() local 117 if( !aMagicNo[SW_CJK] ) nTmp = SW_CJK; break; in CtorInitAttrIter() 119 if( !aMagicNo[SW_CTL] ) nTmp = SW_CTL; break; in CtorInitAttrIter() 121 if( !aMagicNo[SW_LATIN ] ) nTmp = SW_LATIN; in CtorInitAttrIter() 123 if( nTmp < 4 ) in CtorInitAttrIter() 125 pFnt->ChkMagic( pShell, nTmp ); in CtorInitAttrIter() 126 pFnt->GetMagic( aMagicNo[ nTmp ], aFntIdx[ nTmp ], nTmp ); in CtorInitAttrIter()
|
H A D | porrst.cxx | 434 long nTmp = rSpace.GetPropLineSpace(); in FillRegister() local 435 if( nTmp < 50 ) in FillRegister() 436 nTmp = nTmp ? 50 : 100; in FillRegister() 437 nTmp *= rRegDiff; in FillRegister() 438 nTmp /= 100; in FillRegister() 439 if( !nTmp ) in FillRegister() 440 ++nTmp; in FillRegister() 441 rRegDiff = (KSHORT)nTmp; in FillRegister()
|
/trunk/main/sw/source/core/edit/ |
H A D | edattr.cxx | 118 sal_uLong nTmp = nSttNd; nSttNd = nEndNd; nEndNd = nTmp; in GetCurAttr() local 119 nTmp = nSttCnt; nSttCnt = nEndCnt; nEndCnt = (xub_StrLen)nTmp; in GetCurAttr() 189 sal_uLong nTmp = nSttNd; nSttNd = nEndNd; nEndNd = nTmp; in GetCurTxtFmtColl() local 190 nTmp = nSttCnt; nSttCnt = nEndCnt; nEndCnt = (xub_StrLen)nTmp; in GetCurTxtFmtColl() 344 sal_uLong nTmp = nSttNd; nSttNd = nEndNd; nEndNd = nTmp; in IsMoveLeftMargin() local
|
/trunk/main/xmloff/source/style/ |
H A D | backhdl.cxx | 67 sal_uInt16 nTmp; in importXML() local 114 else if( SvXMLUnitConverter::convertEnum( nTmp, aToken, pXML_BrushHorizontalPos ) ) in importXML() 117 MergeXMLHoriPos( ePos, (style::GraphicLocation)nTmp ); in importXML() 119 ePos = (style::GraphicLocation)nTmp; in importXML() 125 else if( SvXMLUnitConverter::convertEnum( nTmp, aToken, pXML_BrushVerticalPos ) ) in importXML() 128 MergeXMLVertPos( ePos, (style::GraphicLocation)nTmp ); in importXML() 130 ePos = (style::GraphicLocation)nTmp; in importXML()
|
/trunk/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 549 sal_Int32 nTmp, nTmp1, nActionSize; in ImplConvertFromSVM1() local 699 rIStm >> nTmp >> nTmp1; in ImplConvertFromSVM1() 701 if( nTmp || nTmp1 ) in ImplConvertFromSVM1() 892 if ( nTmp && ( static_cast< sal_uInt32 >( nTmp ) < ( SAL_MAX_UINT16 - 1 ) ) ) in ImplConvertFromSVM1() 894 rIStm.Read( aByteStr.AllocBuffer( (sal_uInt16)nTmp ), nTmp + 1 ); in ImplConvertFromSVM1() 911 if ( nTmp && ( static_cast< sal_uInt32 >( nTmp ) < ( SAL_MAX_UINT16 - 1 ) ) ) in ImplConvertFromSVM1() 913 rIStm.Read( aByteStr.AllocBuffer( (sal_uInt16)nTmp ), nTmp + 1 ); in ImplConvertFromSVM1() 923 rIStm >> nTmp, pDXAry[ j ] = nTmp; in ImplConvertFromSVM1() 971 if ( nTmp && ( static_cast< sal_uInt32 >( nTmp ) < ( SAL_MAX_INT16 - 1 ) ) ) in ImplConvertFromSVM1() 973 rIStm.Read( aByteStr.AllocBuffer( (sal_uInt16)nTmp ), nTmp + 1 ); in ImplConvertFromSVM1() [all …]
|
/trunk/main/svx/source/sidebar/text/ |
H A D | TextCharacterSpacingControl.cxx | 431 long nTmp = static_cast<long>(maEditKerning.GetValue()); in IMPL_LINK() local 437 if(nTmp > maEditKerning.GetMax()) in IMPL_LINK() 438 nTmp = maEditKerning.GetMax(); in IMPL_LINK() 439 mnCustomKern = -nTmp; in IMPL_LINK() 440 long nVal = LogicToLogic( nTmp, MAP_POINT, (MapUnit)eUnit ); in IMPL_LINK() 448 if(nTmp > maEditKerning.GetMax(FUNIT_TWIP)) in IMPL_LINK() 449 nTmp = maEditKerning.GetMax(FUNIT_TWIP); in IMPL_LINK() 450 mnCustomKern = nTmp; in IMPL_LINK() 451 long nVal = LogicToLogic( nTmp, MAP_POINT, (MapUnit)eUnit ); in IMPL_LINK()
|
/trunk/main/filter/source/msfilter/ |
H A D | dffrecordheader.cxx | 30 sal_uInt16 nTmp(0); in operator >>() local 31 rIn >> nTmp; in operator >>() 32 rRec.nImpVerInst = nTmp; in operator >>() 33 rRec.nRecVer = sal::static_int_cast< sal_uInt8 >(nTmp & 0x000F); in operator >>() 34 rRec.nRecInstance = nTmp >> 4; in operator >>()
|
/trunk/main/sc/inc/ |
H A D | bigrange.hxx | 87 sal_Int32 nTmp; in PutInOrder() local 90 nTmp = r.nCol; in PutInOrder() 92 nCol = nTmp; in PutInOrder() 96 nTmp = r.nRow; in PutInOrder() 98 nRow = nTmp; in PutInOrder() 102 nTmp = r.nTab; in PutInOrder() 104 nTab = nTmp; in PutInOrder()
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmlimp.cxx | 1101 sal_Int64 nTmp = 0; in SetViewSettings() local 1113 pValue->Value >>= nTmp; in SetViewSettings() 1114 aRect.setY( static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp) ); in SetViewSettings() 1118 pValue->Value >>= nTmp; in SetViewSettings() 1119 aRect.setX( static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp) ); in SetViewSettings() 1123 pValue->Value >>= nTmp; in SetViewSettings() 1125 aSize.Width() = static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp); in SetViewSettings() 1130 pValue->Value >>= nTmp; in SetViewSettings() 1132 aSize.Height() = static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp); in SetViewSettings() 1354 sal_Int16 nTmp = document::PrinterIndependentLayout::DISABLED; in SetConfigurationSettings() local [all …]
|
/trunk/main/sw/source/core/table/ |
H A D | swtable.cxx | 544 sal_uInt64 nTmp = nSum; in lcl_SortedTabColInsert() local 545 nTmp *= nAct; in lcl_SortedTabColInsert() 546 nTmp /= nWish; in lcl_SortedTabColInsert() 551 nPos = (sal_uInt16)nTmp; in lcl_SortedTabColInsert() 864 long nTmp = (long)nWidth; in lcl_ProcessBoxSet() local 865 nTmp += rParm.rOld.GetLeft(); in lcl_ProcessBoxSet() 871 nTmp <= (rParm.rOld[i] + COLFUZZY) ) in lcl_ProcessBoxSet() 906 nLeftDiff /= nTmp; in lcl_ProcessBoxSet() 908 nRightDiff /= nTmp; in lcl_ProcessBoxSet() 1294 nTmp += pLast->second; in lcl_CalcNewWidths() [all …]
|
/trunk/main/slideshow/source/engine/animationnodes/ |
H A D | basenode.cxx | 370 const sal_Int16 nTmp( mxAnimationNode->getRestart() ); in getRestartMode() local 371 return (nTmp != animations::AnimationRestart::DEFAULT && in getRestartMode() 372 nTmp != animations::AnimationRestart::INHERIT) in getRestartMode() 373 ? nTmp : getRestartDefaultMode(); in getRestartMode() 378 const sal_Int16 nTmp( mxAnimationNode->getFill() ); in getFillMode() local 379 const sal_Int16 nFill((nTmp != animations::AnimationFill::DEFAULT && in getFillMode() 380 nTmp != animations::AnimationFill::INHERIT) in getFillMode() 381 ? nTmp : getFillDefaultMode()); in getFillMode()
|
/trunk/main/sc/source/ui/sidebar/ |
H A D | AlignmentPropertyPanel.cxx | 200 sal_Int64 nTmp = (sal_Int64)dTmp*100; in IMPL_LINK() local 201 SfxInt32Item aAngleItem( SID_ATTR_ALIGN_DEGREES,(sal_uInt32) nTmp); in IMPL_LINK() 212 sal_Int32 nTmp = mpCtrlDial->GetRotation(); in IMPL_LINK() local 213 SfxInt32Item aAngleItem( SID_ATTR_ALIGN_DEGREES,(sal_uInt32) nTmp); in IMPL_LINK() 490 long nTmp = ((const SfxInt32Item*)pState)->GetValue(); in NotifyItemUpdate() local 491 mpMtrAngle->SetValue( nTmp / 100); //wj in NotifyItemUpdate() 492 mpCtrlDial->SetRotation( nTmp ); in NotifyItemUpdate() 493 switch(nTmp) in NotifyItemUpdate()
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter2.cxx | 169 sal_uInt32 nTmp = nSz; in write() local 171 out << (sal_uInt8)nTmp; in write() 172 nTmp >>= 8; in write() 173 out << (sal_uInt8)nTmp; in write() 174 nTmp >>= 8; in write() 175 out << (sal_uInt8)nTmp; in write() 176 nTmp >>= 8; in write() 177 out << (sal_uInt8)nTmp; in write()
|
/trunk/main/sc/source/filter/qpro/ |
H A D | qprostyle.cxx | 71 sal_uInt8 nTmp = maAlign[ nStyle ]; in SetFormat() local 72 sal_uInt8 nHor = ( nTmp & 0x07 ); in SetFormat() 73 sal_uInt8 nVer = ( nTmp & 0x18 ); in SetFormat() 74 sal_uInt8 nOrient = ( nTmp & 0x60 ); in SetFormat() 133 if( nTmp & 0x80 ) in SetFormat()
|
/trunk/main/sw/source/core/doc/ |
H A D | docnum.cxx | 752 if( USHRT_MAX != nTmp ) // ueber den Namen gefunden in GotoOutline() 754 nFndPos = nTmp; in GotoOutline() 1490 sal_uLong nTmp = nStt; nStt = nEnd; nEnd = nTmp; in DelNumRules() local 1819 sal_uLong nTmp = nStt; nStt = nEnd; nEnd = nTmp; in NumUpDown() local 1858 for (sal_uLong nTmp = nStt; nTmp <= nEnd; ++nTmp) in NumUpDown() local 1860 SwTxtNode* pTNd = GetNodes()[ nTmp ]->GetTxtNode(); in NumUpDown() 1890 for(sal_uLong nTmp = nStt; nTmp <= nEnd; ++nTmp ) in NumUpDown() local 1892 SwTxtNode* pTNd = GetNodes()[ nTmp ]->GetTxtNode(); in NumUpDown() 2486 if( 0xff != ( nTmp = pSetFlags[ n ] )) in GetUniqueNumRuleName() 2490 while( nTmp & 1 ) in GetUniqueNumRuleName() [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 109 if ( bHori && nTmp > lSize ) in lcl_GetPos() 110 lDelta -= nTmp - lSize; in lcl_GetPos() 111 nTmp = pView->GetVisArea().Bottom()+lDelta; in lcl_GetPos() 112 if ( !bHori && nTmp > lSize ) in lcl_GetPos() 113 lDelta -= nTmp - lSize; in lcl_GetPos() 336 aPt.X() -= aPt.X() % nTmp; in SetVisArea() 337 aPt.Y() -= aPt.Y() % nTmp; in SetVisArea() 874 const long nTmp = rSet.GetScrollBarSize(); in CalcAndSetBorderPixel() local 878 rToFill.Left() = nTmp; in CalcAndSetBorderPixel() 880 rToFill.Right() = nTmp; in CalcAndSetBorderPixel() [all …]
|