| /trunk/main/tools/source/generic/ |
| H A D | bigint.cxx | 62 long nTmp = rVal.nVal; in MakeBigInt() local 66 if ( nTmp < 0 ) in MakeBigInt() 69 nTmp = -nTmp; in MakeBigInt() 74 nNum[0] = (sal_uInt16)(nTmp & 0xffffL); in MakeBigInt() 75 nNum[1] = (sal_uInt16)(nTmp >> 16); in MakeBigInt() 77 if ( nTmp & 0xffff0000L ) in MakeBigInt() 80 if ( nTmp & l ) in MakeBigInt() 127 sal_uInt32 nTmp = (sal_uInt32)rVal.nNum[i] * (sal_uInt32)nMul + nK; in Mult() local 128 nK = (sal_uInt16)(nTmp >> 16); in Mult() 129 nNum[i] = (sal_uInt16)nTmp; in Mult() [all …]
|
| /trunk/main/vcl/source/gdi/ |
| H A D | graphictools.cxx | 326 sal_uInt16 nTmp = sal::static_int_cast<sal_uInt16>( rClass.maCapType ); in operator <<() local 327 rOStm << nTmp; in operator <<() 328 nTmp = sal::static_int_cast<sal_uInt16>( rClass.maJoinType ); in operator <<() 329 rOStm << nTmp; in operator <<() 349 sal_uInt16 nTmp; in operator >>() local 350 rIStm >> nTmp; in operator >>() 351 rClass.maCapType = SvtGraphicStroke::CapType(nTmp); in operator >>() 352 rIStm >> nTmp; in operator >>() 353 rClass.maJoinType = SvtGraphicStroke::JoinType(nTmp); in operator >>() 705 sal_uInt16 nTmp = sal::static_int_cast<sal_uInt16>( rClass.maFillRule ); in operator <<() local [all …]
|
| /trunk/main/xmloff/source/text/ |
| H A D | txtimppr.cxx | 215 sal_Int16 nTmp = getPropertySetMapper()->GetEntryContextId( in FontDefaultsCheck() local 217 …DBG_ASSERT( nTmp == CTF_FONTSTYLENAME || nTmp == CTF_FONTSTYLENAME_CJK || nTmp == CTF_FONTSTYLENAM… in FontDefaultsCheck() 229 sal_Int16 nTmp = getPropertySetMapper()->GetEntryContextId( in FontDefaultsCheck() local 231 … DBG_ASSERT( nTmp == CTF_FONTFAMILY || nTmp == CTF_FONTFAMILY_CJK || nTmp == CTF_FONTFAMILY_CTL, in FontDefaultsCheck() 242 sal_Int16 nTmp = getPropertySetMapper()->GetEntryContextId( in FontDefaultsCheck() local 244 … DBG_ASSERT( nTmp == CTF_FONTPITCH || nTmp == CTF_FONTPITCH_CJK || nTmp == CTF_FONTPITCH_CTL, in FontDefaultsCheck() 255 sal_Int16 nTmp = getPropertySetMapper()->GetEntryContextId( in FontDefaultsCheck() local 257 … DBG_ASSERT( nTmp == CTF_FONTCHARSET || nTmp == CTF_FONTCHARSET_CJK || nTmp == CTF_FONTCHARSET_CTL, in FontDefaultsCheck() 458 sal_Int16 nTmp = getPropertySetMapper()->GetEntryContextId( in finished() local 460 OSL_ENSURE( nTmp >= CTF_PARALEFTMARGIN && in finished() [all …]
|
| H A D | txtdropi.cxx | 71 sal_Int32 nTmp; in ProcessAttrs() local 85 if( GetImport().GetMM100UnitConverter().convertNumber( nTmp, rValue, 0, 255 ) ) in ProcessAttrs() 87 aFormat.Lines = nTmp < 2 ? 0 : (sal_Int8)nTmp; in ProcessAttrs() 96 else if( GetImport().GetMM100UnitConverter().convertNumber( nTmp, rValue, 1, 255 ) ) in ProcessAttrs() 99 aFormat.Count = (sal_Int8)nTmp; in ProcessAttrs() 104 if( GetImport().GetMM100UnitConverter().convertMeasure( nTmp, rValue, 0 ) ) in ProcessAttrs() 106 aFormat.Distance = (sal_uInt16)nTmp; in ProcessAttrs()
|
| H A D | XMLTextFrameContext.cxx | 948 sal_Int32 nTmp; in XMLTextFrameContext_Impl() local 950 convertNumber( nTmp, rValue, 1, SHRT_MAX ) ) in XMLTextFrameContext_Impl() 951 nPage = (sal_Int16)nTmp; in XMLTextFrameContext_Impl() 964 sal_Int32 nTmp; in XMLTextFrameContext_Impl() local 965 GetImport().GetMM100UnitConverter().convertPercent( nTmp, in XMLTextFrameContext_Impl() 967 nRelWidth = (sal_Int16)nTmp; in XMLTextFrameContext_Impl() 982 sal_Int32 nTmp; in XMLTextFrameContext_Impl() local 984 convertPercent( nTmp, rValue ) ) in XMLTextFrameContext_Impl() 985 nRelWidth = (sal_Int16)nTmp; in XMLTextFrameContext_Impl() 991 sal_Int32 nTmp; in XMLTextFrameContext_Impl() local [all …]
|
| H A D | txtparai.cxx | 111 sal_Int32 nTmp = xAttrList->getValueByIndex(i).toInt32(); in XMLCharContext() local 112 if( nTmp > 0L ) in XMLCharContext() 114 if( nTmp > USHRT_MAX ) in XMLCharContext() 117 m_nCount = (sal_uInt16)nTmp; in XMLCharContext() 1381 sal_Int32 nTmp; in ProcessAttribute() local 1382 if ( SvXMLUnitConverter::convertNumber( nTmp, sValue ) in ProcessAttribute() 1383 && nTmp >= 1 in ProcessAttribute() 1384 && nTmp < GetImport().GetTextImport()-> in ProcessAttribute() 1387 rPropSet->setPropertyValue(sLevel, uno::makeAny((sal_Int16)(nTmp - 1))); in ProcessAttribute() 1448 sal_Int32 nTmp; in ProcessAttribute() local [all …]
|
| /trunk/main/cui/source/options/ |
| H A D | optjsearch.cxx | 128 sal_Int32 nTmp = 0; in GetTransliterationFlags_Impl() local 130 nTmp |= TransliterationModules_IGNORE_CASE; in GetTransliterationFlags_Impl() 132 nTmp |= TransliterationModules_IGNORE_WIDTH; in GetTransliterationFlags_Impl() 134 nTmp |= TransliterationModules_IGNORE_KANA; in GetTransliterationFlags_Impl() 136 nTmp |= TransliterationModules_ignoreSize_ja_JP; in GetTransliterationFlags_Impl() 138 nTmp |= TransliterationModules_ignoreMinusSign_ja_JP; in GetTransliterationFlags_Impl() 140 nTmp |= TransliterationModules_ignoreIterationMark_ja_JP; in GetTransliterationFlags_Impl() 142 nTmp |= TransliterationModules_ignoreTraditionalKanji_ja_JP; in GetTransliterationFlags_Impl() 144 nTmp |= TransliterationModules_ignoreTraditionalKana_ja_JP; in GetTransliterationFlags_Impl() 146 nTmp |= TransliterationModules_ignoreZiZu_ja_JP; in GetTransliterationFlags_Impl() [all …]
|
| /trunk/main/ucb/source/sorter/ |
| H A D | sortresult.cxx | 570 sal_Int32 nTmp = mnCurEntry + rows; in relative() local 572 if ( nTmp <= 0 ) in relative() 577 else if ( nTmp > mnCount ) in relative() 584 mnCurEntry = nTmp; in relative() 585 nTmp = maS2O[ mnCurEntry ]; in relative() 586 return mxOriginal->absolute( nTmp ); in relative() 1105 sal_Int32 nTmp; in CompareImpl() local 1112 nTmp = (sal_Int32) aTwo.Year - (sal_Int32) aOne.Year; in CompareImpl() 1113 if ( !nTmp ) { in CompareImpl() 1114 nTmp = (sal_Int32) aTwo.Month - (sal_Int32) aOne.Month; in CompareImpl() [all …]
|
| /trunk/main/sd/source/ui/dlg/ |
| H A D | copydlg.cxx | 210 long nTmp; in IMPL_LINK() local 211 nTmp = (long)aStr.GetToken( 0, TOKEN ).ToInt32(); in IMPL_LINK() 212 maNumFldCopies.SetValue( nTmp ); in IMPL_LINK() 214 nTmp = (long)aStr.GetToken( 1, TOKEN ).ToInt32(); in IMPL_LINK() 215 maMtrFldMoveX.SetValue( nTmp ); in IMPL_LINK() 217 nTmp = (long)aStr.GetToken( 2, TOKEN ).ToInt32(); in IMPL_LINK() 218 maMtrFldMoveY.SetValue( nTmp ); in IMPL_LINK() 220 nTmp = (long)aStr.GetToken( 3, TOKEN ).ToInt32(); in IMPL_LINK() 221 maMtrFldAngle.SetValue( nTmp ); in IMPL_LINK() 223 nTmp = (long)aStr.GetToken( 4, TOKEN ).ToInt32(); in IMPL_LINK() [all …]
|
| /trunk/main/sw/source/core/unocore/ |
| H A D | unosett.cxx | 383 sal_Int16 nTmp = 0; in setPropertyValue() local 384 aValue >>= nTmp; in setPropertyValue() 385 if(nTmp >= 0 && in setPropertyValue() 386 (nTmp <= SVX_NUM_ARABIC || in setPropertyValue() 387 nTmp > SVX_NUM_BITMAP)) in setPropertyValue() 388 aFtnInfo.aFmt.SetNumberingType(nTmp); in setPropertyValue() 395 sal_Int16 nTmp = 0; in setPropertyValue() local 396 aValue >>= nTmp; in setPropertyValue() 397 aFtnInfo.nFtnOffset = nTmp; in setPropertyValue() 402 sal_Int16 nTmp = 0; in setPropertyValue() local [all …]
|
| /trunk/main/sw/source/core/txtnode/ |
| H A D | fntcap.cxx | 717 xub_StrLen nTmp; in DoOnCapitals() local 720 nTmp = nOldPos; in DoOnCapitals() 721 while( nTmp < nPos && CH_BLANK == rOldText.GetChar( nTmp ) ) in DoOnCapitals() 722 ++nTmp; in DoOnCapitals() 723 if( nOldPos < nTmp ) in DoOnCapitals() 739 const XubString aSnippet( rOldText, nOldPos, nTmp - nOldPos); in DoOnCapitals() 742 aCapInf.nLen = nTmp - nOldPos; in DoOnCapitals() 750 rDo.GetInf().SetLen( nTmp - nOldPos ); in DoOnCapitals() 758 aPartSize.Width() += nSpaceAdd * ( nTmp - nOldPos ); in DoOnCapitals() 763 nOldPos = nTmp; in DoOnCapitals() [all …]
|
| /trunk/main/editeng/source/items/ |
| H A D | svxfont.cxx | 491 xub_StrLen nTmp = nLen; in GetTxtSize() local 492 if ( nTmp == STRING_LEN ) // schon initialisiert? in GetTxtSize() 493 nTmp = rTxt.Len(); in GetTxtSize() 498 aTxtSize = GetCapitalSize( pOut, rTxt, nIdx, nTmp ); in GetTxtSize() 500 else aTxtSize = GetPhysTxtSize(pOut,rTxt,nIdx,nTmp); in GetTxtSize() 514 xub_StrLen nTmp = nLen; in DrawText() local 515 if ( nTmp == STRING_LEN ) // schon initialisiert? in DrawText() 516 nTmp = rTxt.Len(); in DrawText() 526 DrawCapital( pOut, aPos, rTxt, nIdx, nTmp ); in DrawText() 529 Size aSize = GetPhysTxtSize( pOut, rTxt, nIdx, nTmp ); in DrawText() [all …]
|
| /trunk/main/sw/source/core/text/ |
| H A D | itrcrsr.cxx | 298 long nTmp = pSpace->GetPropLineSpace(); in CtorInitTxtMargin() local 301 if( nTmp < 50 ) in CtorInitTxtMargin() 302 nTmp = nTmp ? 50 : 100; in CtorInitTxtMargin() 304 nTmp *= nFirstLineOfs; in CtorInitTxtMargin() 305 nTmp /= 100; in CtorInitTxtMargin() 306 if( !nTmp ) in CtorInitTxtMargin() 307 ++nTmp; in CtorInitTxtMargin() 308 nFirstLineOfs = (KSHORT)nTmp; in CtorInitTxtMargin() 858 long nTmp = pOrig->Width(); in _GetCharRect() local 860 pOrig->Height( nTmp ); in _GetCharRect() [all …]
|
| H A D | itrform2.cxx | 626 xub_StrLen nTmp = rInf.GetIdx() + pPor->GetLen(); in BuildPortions() local 627 if( nTmp == pScriptInfo->NextScriptChg( nTmp - 1 ) && in BuildPortions() 628 nTmp != rInf.GetTxt().Len() ) in BuildPortions() 637 if ( rCC.isLetterNumeric( rInf.GetTxt(), nTmp - 1 ) && in BuildPortions() 638 rCC.isLetterNumeric( rInf.GetTxt(), nTmp ) ) in BuildPortions() 653 xub_StrLen nTmp = rInf.GetIdx() + pPor->GetLen(); in BuildPortions() local 657 const sal_uInt8 nNextScript = nTmp >= rInf.GetTxt().Len() ? in BuildPortions() 659 SwScriptInfo::WhichFont( nTmp, 0, pScriptInfo ); in BuildPortions() 1729 sal_uLong nTmp = pSpace->GetPropLineSpace(); in CalcRealHeight() local 1731 if( nTmp < 100 ) in CalcRealHeight() [all …]
|
| /trunk/main/xmloff/source/style/ |
| H A D | XMLBackgroundImageContext.cxx | 205 sal_uInt16 nTmp; in ProcessAttrs() local 256 else if( SvXMLUnitConverter::convertEnum( nTmp, aToken, in ProcessAttrs() 261 (GraphicLocation)nTmp ); in ProcessAttrs() 263 eNewPos = (GraphicLocation)nTmp; in ProcessAttrs() 268 else if( SvXMLUnitConverter::convertEnum( nTmp, aToken, in ProcessAttrs() 273 (GraphicLocation)nTmp ); in ProcessAttrs() 275 eNewPos = (GraphicLocation)nTmp; in ProcessAttrs() 317 sal_Int32 nTmp; in ProcessAttrs() local 319 if( SvXMLUnitConverter::convertPercent( nTmp, rValue ) ) in ProcessAttrs() 321 if( (nTmp >= 0) && (nTmp <= 100) ) in ProcessAttrs() [all …]
|
| H A D | xmlnumi.cxx | 408 sal_Int32 nTmp = rValue.toInt32(); in SvxXMLListLevelStyleContext_Impl() local 410 (nTmp < 0L) ? 1 : ( (nTmp>SHRT_MAX) ? SHRT_MAX in SvxXMLListLevelStyleContext_Impl() 411 : (sal_Int16)nTmp ); in SvxXMLListLevelStyleContext_Impl() 417 sal_Int32 nTmp = rValue.toInt32(); in SvxXMLListLevelStyleContext_Impl() local 419 (nTmp < 1L) ? 1 : ( (nTmp>SHRT_MAX) ? SHRT_MAX in SvxXMLListLevelStyleContext_Impl() 420 : (sal_Int16)nTmp ); in SvxXMLListLevelStyleContext_Impl() 878 sal_Int16 nTmp = 0; in SvxXMLListLevelStyleAttrContext_Impl() local 893 i->maValue >>= nTmp; in SvxXMLListLevelStyleAttrContext_Impl() 894 rListLevel.SetBulletFontFamily( nTmp ); in SvxXMLListLevelStyleAttrContext_Impl() 897 i->maValue >>= nTmp; in SvxXMLListLevelStyleAttrContext_Impl() [all …]
|
| H A D | XMLFootnoteSeparatorImport.cxx | 105 sal_Int32 nTmp; in StartElement() local 109 nTmp, sAttrValue)) in StartElement() 111 nLineWeight = (sal_Int16)nTmp; in StartElement() 117 nTmp, sAttrValue)) in StartElement() 118 nLineTextDistance = nTmp; in StartElement() 123 nTmp, sAttrValue)) in StartElement() 124 nLineDistance = nTmp; in StartElement() 143 if (SvXMLUnitConverter::convertPercent(nTmp, sAttrValue)) in StartElement() 144 nLineRelWidth = (sal_uInt8)nTmp; in StartElement()
|
| /trunk/main/xmloff/source/draw/ |
| H A D | XMLImageMapContext.cxx | 377 sal_Int32 nTmp; in ProcessAttribute() local 381 if (GetImport().GetMM100UnitConverter().convertMeasure(nTmp, in ProcessAttribute() 384 aRectangle.X = nTmp; in ProcessAttribute() 389 if (GetImport().GetMM100UnitConverter().convertMeasure(nTmp, in ProcessAttribute() 392 aRectangle.Y = nTmp; in ProcessAttribute() 397 if (GetImport().GetMM100UnitConverter().convertMeasure(nTmp, in ProcessAttribute() 400 aRectangle.Width = nTmp; in ProcessAttribute() 405 if (GetImport().GetMM100UnitConverter().convertMeasure(nTmp, in ProcessAttribute() 408 aRectangle.Height = nTmp; in ProcessAttribute() 582 sal_Int32 nTmp; in ProcessAttribute() local [all …]
|
| /trunk/main/sw/source/ui/uno/ |
| H A D | unomod.cxx | 694 sal_Int32 nTmp = 0; in _setSingleValue() local 695 if(!(rValue >>= nTmp) || nTmp < 10) in _setSingleValue() 698 aSize.Width() = MM100_TO_TWIP( nTmp ); in _setSingleValue() 704 sal_Int32 nTmp = 0; in _setSingleValue() local 705 if(!(rValue >>= nTmp) || nTmp < 10) in _setSingleValue() 708 aSize.Height() = MM100_TO_TWIP( nTmp ); in _setSingleValue() 714 sal_Int32 nTmp = 0; in _setSingleValue() local 715 if(!(rValue >>= nTmp) || !(0 <= nTmp && nTmp < 100)) in _setSingleValue() 717 mpViewOption->SetDivisionX( (short) nTmp ); in _setSingleValue() 722 sal_Int32 nTmp = 0; in _setSingleValue() local [all …]
|
| /trunk/main/sw/source/core/objectpositioning/ |
| H A D | anchoredobjectposition.cxx | 995 SwTwips nTmp = nOtherBot + 1 + _rULSpacing.GetUpper() - in _AdjustHoriRelPosForDrawAside() local 997 if ( nTmp > nAdjustedRelPosX && in _AdjustHoriRelPosForDrawAside() 998 rAnchorTxtFrm.Frm().Top() + nTmp + in _AdjustHoriRelPosForDrawAside() 1002 nAdjustedRelPosX = nTmp; in _AdjustHoriRelPosForDrawAside() 1007 SwTwips nTmp = nOtherTop - 1 - _rULSpacing.GetLower() - in _AdjustHoriRelPosForDrawAside() local 1010 if ( nTmp < nAdjustedRelPosX && in _AdjustHoriRelPosForDrawAside() 1011 rAnchorTxtFrm.Frm().Top() + nTmp - _rULSpacing.GetUpper() in _AdjustHoriRelPosForDrawAside() 1014 nAdjustedRelPosX = nTmp; in _AdjustHoriRelPosForDrawAside() 1031 SwTwips nTmp = nOtherRight + 1 + _rLRSpacing.GetLeft() - in _AdjustHoriRelPosForDrawAside() local 1033 if ( nTmp > nAdjustedRelPosX && in _AdjustHoriRelPosForDrawAside() [all …]
|
| /trunk/main/i18npool/source/search/ |
| H A D | levdis.hxx | 191 int nTmp = nLimit; in SetLimit() local 193 return( nTmp ); in SetLimit() 198 int nTmp = nRepP0; in SetReplaceP0() local 200 return( nTmp ); in SetReplaceP0() 205 int nTmp = nInsQ0; in SetInsertQ0() local 207 return( nTmp ); in SetInsertQ0() 212 int nTmp = nDelR0; in SetDeleteR0() local 214 return( nTmp ); in SetDeleteR0()
|
| /trunk/main/sd/source/ui/notes/ |
| H A D | EditWindow.cxx | 510 const long nTmp = GetSettings().GetStyleSettings().GetScrollBarSize(); in IMPL_LINK_INLINE_END() local 511 Point aPt( aRect.TopRight() ); aPt.X() -= nTmp -1L; in IMPL_LINK_INLINE_END() 512 mpVerticalScrollBar->SetPosSizePixel( aPt, Size(nTmp, aOut.Height() - nTmp)); in IMPL_LINK_INLINE_END() 514 aPt = aRect.BottomLeft(); aPt.Y() -= nTmp - 1L; in IMPL_LINK_INLINE_END() 515 mpHorizontalScrollBar->SetPosSizePixel( aPt, Size(aOut.Width() - nTmp, nTmp)); in IMPL_LINK_INLINE_END() 519 mpScrollBox->SetPosSizePixel(aPt, Size(nTmp, nTmp )); in IMPL_LINK_INLINE_END() 534 long nTmp = pEditEngine->GetTextHeight(); in SetScrollBarRanges() local 535 mpVerticalScrollBar->SetRange(Range(0, nTmp)); in SetScrollBarRanges() 540 long nTmp = pEditEngine->GetPaperSize().Width(); in SetScrollBarRanges() local 541 mpHorizontalScrollBar->SetRange(Range(0,nTmp)); in SetScrollBarRanges()
|
| /trunk/main/sw/source/core/doc/ |
| H A D | fmtcol.cxx | 243 long nTmp = aNew.GetLeft(); // alten zum Vergleichen in Modify() local 245 bChg |= nTmp != aNew.GetLeft(); in Modify() 250 long nTmp = aNew.GetRight(); // alten zum Vergleichen in Modify() local 252 bChg |= nTmp != aNew.GetRight(); in Modify() 257 short nTmp = aNew.GetTxtFirstLineOfst(); // alten zum Vergleichen in Modify() local 260 bChg |= nTmp != aNew.GetTxtFirstLineOfst(); in Modify() 283 sal_uInt16 nTmp = aNew.GetUpper(); // alten zum Vergleichen in Modify() local 285 bChg |= nTmp != aNew.GetUpper(); in Modify() 290 sal_uInt16 nTmp = aNew.GetLower(); // alten zum Vergleichen in Modify() local 292 bChg |= nTmp != aNew.GetLower(); in Modify() [all …]
|
| /trunk/main/starmath/source/ |
| H A D | rect.cxx | 425 { long nTmp; in Union() local 427 if ((nTmp = GetLeft()) < nL) in Union() 428 nL = nTmp; in Union() 429 if ((nTmp = GetRight()) > nR) in Union() 430 nR = nTmp; in Union() 431 if ((nTmp = GetTop()) < nT) in Union() 432 nT = nTmp; in Union() 433 if ((nTmp = GetBottom()) > nB) in Union() 434 nB = nTmp; in Union() 435 if ((nTmp = nGlyphTop) < nGT) in Union() [all …]
|
| /trunk/main/tools/inc/tools/ |
| H A D | stream.hxx | 637 long nTmp; in ReadNumber() local 638 ReadNumber( nTmp ); in ReadNumber() 639 rShort = (short)nTmp; in ReadNumber() 645 sal_uInt32 nTmp; in ReadNumber() local 646 ReadNumber( nTmp ); in ReadNumber() 647 rUShort = (sal_uInt16)nTmp; in ReadNumber() 653 long nTmp; in ReadNumber() local 654 ReadNumber( nTmp ); in ReadNumber() 655 rInt = (int)nTmp; in ReadNumber() 671 double nTmp; in ReadNumber() local [all …]
|