/aoo42x/main/sw/source/core/draw/ |
H A D | dview.cxx | 515 sal_uLong nNewPos ) in ObjOrderChanged() argument 558 nNewPos = nParentOrdNum; in ObjOrderChanged() 570 pDrawPage->GetObj( bMovedForward ? nNewPos - 1 : nNewPos + 1 ); in ObjOrderChanged() 590 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged() 593 nNewPos = nTmpNewPos; in ObjOrderChanged() 606 if ( nNewPos < nMaxChildOrdNum ) in ObjOrderChanged() 620 nNewPos = nTmpNewPos; in ObjOrderChanged() 629 sal_uInt32 nTmpNewPos( nNewPos ); in ObjOrderChanged() 661 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged() 664 nNewPos = nTmpNewPos; in ObjOrderChanged() [all …]
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdedtv2.cxx | 109 sal_uIntPtr nNewPos=0; in MovMarkedToTop() local 152 nNewPos=nCmpPos; in MovMarkedToTop() 160 if (nNowPos!=nNewPos) in MovMarkedToTop() 168 nNewPos--; in MovMarkedToTop() 206 nNewPos=0; in MovMarkedToBtm() 241 nNewPos=nCmpPos; in MovMarkedToBtm() 257 nNewPos++; in MovMarkedToBtm() 358 nNewPos--; in PutMarkedInFrontOfObj() 417 nNewPos=0; in PutMarkedBehindObj() 430 if (nNewPos<nMinOrd) nNewPos=nMinOrd; // nicht ueberholen. in PutMarkedBehindObj() [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | documen2.cxx | 757 if (nNewPos == SC_TAB_APPEND) in MoveTab() 758 nNewPos = nTabCount-1; in MoveTab() 791 pTab[nNewPos] = pSaveTab; in MoveTab() 820 if (SC_TAB_APPEND == nNewPos ) nNewPos = nMaxTableNumber; in CopyTab() 842 if (nNewPos == nMaxTableNumber) in CopyTab() 850 if (VALIDTAB(nNewPos) && (nNewPos < nMaxTableNumber)) in CopyTab() 875 if (nNewPos <= nOldPos) in CopyTab() 877 pTab[nNewPos] = new ScTable(this, nNewPos, aName); in CopyTab() 912 pTab[nNewPos]->UpdateReference(URM_COPY, 0, 0, nNewPos , MAXCOL, MAXROW, in CopyTab() 913 nNewPos, 0, 0, nDz, NULL); in CopyTab() [all …]
|
/aoo42x/main/vcl/source/window/ |
H A D | split.cxx | 299 long nNewPos; in Tracking() local 301 nNewPos = maDragPos.X(); in Tracking() 303 nNewPos = maDragPos.Y(); in Tracking() 341 long nNewPos; in Tracking() local 343 nNewPos = maDragPos.X(); in Tracking() 345 nNewPos = maDragPos.Y(); in Tracking() 378 long nNewPos; in ImplKbdTracking() local 380 nNewPos = maDragPos.X(); in ImplKbdTracking() 465 long nNewPos; in ImplKbdTracking() local 524 mnSplitPos = nNewPos; in SetSplitPosPixel() [all …]
|
H A D | toolbox2.cxx | 655 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >( nNewPos ) ); in InsertItem() 675 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >(nNewPos ) ); in InsertItem() 839 void ToolBox::MoveItem( sal_uInt16 nItemId, sal_uInt16 nNewPos ) in MoveItem() argument 843 if ( nPos == nNewPos ) in MoveItem() 846 if ( nPos < nNewPos ) in MoveItem() 847 nNewPos--; in MoveItem() 855 …mpData->m_aItems.insert( (nNewPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : … in MoveItem() 866 …os2 = sal::static_int_cast<sal_uInt16>(( nNewPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() -… in MoveItem() 875 sal_uInt16 nNewPos ) in CopyItem() argument 891 …mpData->m_aItems.insert( (nNewPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : … in CopyItem() [all …]
|
H A D | window2.cxx | 1260 long nNewPos = pHScrl->GetThumbPos(); in ImplHandleScroll() local 1263 nNewPos += pHScrl->GetPageSize(); in ImplHandleScroll() 1265 nNewPos -= pHScrl->GetPageSize(); in ImplHandleScroll() 1271 nNewPos = LONG_MIN; in ImplHandleScroll() 1273 nNewPos = LONG_MAX; in ImplHandleScroll() 1275 nNewPos = (long)fVal; in ImplHandleScroll() 1278 pHScrl->DoScroll( nNewPos ); in ImplHandleScroll() 1294 nNewPos = LONG_MIN; in ImplHandleScroll() 1296 nNewPos = LONG_MAX; in ImplHandleScroll() 1298 nNewPos = (long)fVal; in ImplHandleScroll() [all …]
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 266 sal_Int32 nNewPos = nPos; in GetNoScrollPos() local 267 if( nNewPos != CSV_POS_INVALID ) in GetNoScrollPos() 277 nNewPos = Min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos() 280 return nNewPos; in GetNoScrollPos() 308 ImplDrawSplit( nNewPos ); in MoveSplit() 321 sal_Int32 nNewPos = nPos; in FindEmptyPos() local 322 if( nNewPos != CSV_POS_INVALID ) in FindEmptyPos() 344 return IsValidSplitPos( nNewPos ) ? nNewPos : CSV_POS_INVALID; in FindEmptyPos() 351 MoveCursor( nNewPos ); in MoveCurrSplit() 360 if( nNewPos != CSV_POS_INVALID ) in MoveCurrSplitRel() [all …]
|
H A D | csvgrid.cxx | 179 sal_Int32 nNewPos = nPos; in GetNoScrollCol() local 180 if( nNewPos != CSV_POS_INVALID ) in GetNoScrollCol() 182 if( nNewPos < GetFirstVisPos() + CSV_SCROLL_DIST ) in GetNoScrollCol() 185 nNewPos = GetFirstVisPos() + nScroll; in GetNoScrollCol() 187 else if( nNewPos > GetLastVisPos() - CSV_SCROLL_DIST - 1L ) in GetNoScrollCol() 190 nNewPos = GetLastVisPos() - nScroll - 1; in GetNoScrollCol() 193 return nNewPos; in GetNoScrollCol() 292 void ScCsvGrid::MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ) in MoveSplit() argument 298 if( (GetColumnPos( nColIx - 1 ) < nNewPos) && (nNewPos < GetColumnPos( nColIx + 1 )) ) in MoveSplit() 302 maSplits.Insert( nNewPos ); in MoveSplit() [all …]
|
/aoo42x/main/vcl/source/control/ |
H A D | field2.cxx | 450 nNewPos = nTempPos-1; in ImplPatternLeftPos() 455 return nNewPos; in ImplPatternLeftPos() 471 nNewPos = nTempPos+1; in ImplPatternRightPos() 477 return nNewPos; in ImplPatternRightPos() 499 xub_StrLen nNewPos; in ImplPatternProcessKeyInput() local 531 nNewPos = 0; in ImplPatternProcessKeyInput() 534 nNewPos++; in ImplPatternProcessKeyInput() 548 while ( nNewPos && in ImplPatternProcessKeyInput() 550 nNewPos--; in ImplPatternProcessKeyInput() 558 aSel.Max() = nNewPos; in ImplPatternProcessKeyInput() [all …]
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | TSkipDeletedSet.cxx | 176 sal_Int32 nNewPos = _nPos; in moveAbsolute() local 177 if(nNewPos > 0) in moveAbsolute() 179 if((sal_Int32)m_aBookmarksPositions.size() < nNewPos) in moveAbsolute() 192 --nNewPos; in moveAbsolute() 199 nNewPos = nNewPos - nCurPos; in moveAbsolute() 204 while (bDataFound && nNewPos) in moveAbsolute() 212 --nNewPos; in moveAbsolute() 218 const sal_Int32 nBookmark = m_aBookmarksPositions[nNewPos-1]/*->first*/; in moveAbsolute() 225 ++nNewPos; in moveAbsolute() 226 bDataFound = skipDeleted(IResultSetHelper::LAST,0,nNewPos == 0); in moveAbsolute() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 1948 nNewPos = rOStm.Tell(); in ImplWriteActions() 1951 rOStm.Seek( nNewPos ); in ImplWriteActions() 2197 nNewPos = rOStm.Tell(); in ImplWriteActions() 2200 rOStm.Seek( nNewPos ); in ImplWriteActions() 2258 nNewPos = rOStm.Tell(); in ImplWriteActions() 2288 rOStm.Seek( nNewPos ); in ImplWriteActions() 2318 nNewPos = rOStm.Tell(); in ImplWriteActions() 2366 rOStm.Seek( nNewPos ); in ImplWriteActions() 2394 rOStm.Seek( nNewPos ); in ImplWriteActions() 2431 rOStm.Seek( nNewPos ); in ImplWriteActions() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | itratr.cxx | 132 sal_Bool bChg = nStartIndex && nNewPos == nPos ? pFnt->IsFntChg() : Seek( nNewPos ); in SeekAndChgAttrIter() 151 sal_Bool SwAttrIter::IsSymbol( const xub_StrLen nNewPos ) in IsSymbol() argument 153 Seek( nNewPos ); in IsSymbol() 224 void SwAttrIter::SeekFwd( const xub_StrLen nNewPos ) in SeekFwd() argument 257 if ( *pTxtAttr->GetAnyEnd() > nNewPos ) Chg( pTxtAttr ); in SeekFwd() 267 sal_Bool SwAttrIter::Seek( const xub_StrLen nNewPos ) in Seek() argument 270 pRedln->LeaveExtend( *pFnt, nNewPos ); in Seek() 274 if( !nNewPos || nNewPos < nPos ) in Seek() 297 SeekFwd( nNewPos ); in Seek() 303 nChgCnt = nChgCnt + pRedln->Seek( *pFnt, nNewPos, nPos ); in Seek() [all …]
|
H A D | wrong.cxx | 524 void SwWrongList::InsertSubList( xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere, SwWrong… in InsertSubList() argument 535 maList.insert(i, SwWrongArea( rtl::OUString(), 0, nNewPos, nNewLen, pSubList ) ); in InsertSubList() 630 xub_StrLen nNewPos, xub_StrLen nNewLen ) in Insert() argument 638 if ( nNewPos < nSTPos ) in Insert() 643 else if ( nNewPos == nSTPos ) in Insert() 664 maList.insert(aIter, SwWrongArea( rType, meType, xPropertyBag, nNewPos, nNewLen) ); in Insert()
|
/aoo42x/main/svtools/source/control/ |
H A D | tabbar.cxx | 770 nNewPos = 0; in IMPL_LINK() 774 nNewPos = mnFirstPos-1; in IMPL_LINK() 780 nNewPos = mnFirstPos+1; in IMPL_LINK() 786 nNewPos = nCount-1; in IMPL_LINK() 789 if ( nNewPos != mnFirstPos ) in IMPL_LINK() 1693 Pair aPair( nPos, nNewPos ); in MovePage() 1695 if ( nPos < nNewPos ) in MovePage() 1696 nNewPos--; in MovePage() 1698 if ( nPos == nNewPos ) in MovePage() 2029 sal_uInt16 nNewPos; in SetFirstPageId() local [all …]
|
/aoo42x/main/sc/source/filter/ftools/ |
H A D | fprogressbar.cxx | 120 sal_Size nNewPos = mnTotalPos + nDelta; in IncreaseProgressBar() local 127 static_cast< double >( nNewPos ) * mpParentSegment->mnSize / mnTotalSize ); in IncreaseProgressBar() 133 if( nNewPos >= mnNextUnitPos ) in IncreaseProgressBar() 135 mnNextUnitPos = nNewPos + mnUnitSize; in IncreaseProgressBar() 136 mxSysProgress->SetState( static_cast< sal_uLong >( nNewPos / mnSysProgressScale ) ); in IncreaseProgressBar() 144 mnTotalPos = nNewPos; in IncreaseProgressBar()
|
/aoo42x/main/dbaccess/source/ui/misc/ |
H A D | WNameMatch.cxx | 294 sal_uLong nNewPos = m_CTRL_LEFT.GetModel()->GetAbsPos(m_CTRL_LEFT.GetFirstEntryInView()); variable 295 if ( nNewPos - nPos == 1 ) 296 --nNewPos; 297 m_CTRL_RIGHT.MakeVisible(m_CTRL_RIGHT.GetEntry(nNewPos),sal_True); 328 sal_uLong nNewPos = m_CTRL_RIGHT.GetModel()->GetAbsPos(m_CTRL_RIGHT.GetFirstEntryInView()); variable 329 if ( nNewPos - nPos == 1 ) 330 nNewPos--; 331 m_CTRL_LEFT.MakeVisible(m_CTRL_LEFT.GetEntry(nNewPos),sal_True);
|
H A D | DExport.cxx | 316 sal_Int32 nNewPos = m_bIsAutoIncrement ? m_nColumnPos+1 : m_nColumnPos; in insertValueIntoColumn() local 317 …OSL_ENSURE((nNewPos) < static_cast<sal_Int32>(m_vColumns.size()),"m_vColumns: Illegal index for ve… in insertValueIntoColumn() 319 if ( (nNewPos) < static_cast<sal_Int32>(m_vColumns.size() ) ) in insertValueIntoColumn() 321 sal_Int32 nPos = m_vColumns[nNewPos].first; in insertValueIntoColumn() 333 … OSL_ENSURE((nNewPos) < static_cast<sal_Int32>(m_vColumnTypes.size()),"Illegal index for vector"); in insertValueIntoColumn() 334 …if (m_vColumnTypes[nNewPos] != DataType::VARCHAR && m_vColumnTypes[nNewPos] != DataType::CHAR && m… in insertValueIntoColumn() 797 sal_Int32 nNewPos = m_bIsAutoIncrement ? m_nColumnPos+1 : m_nColumnPos; in adjustFormat() local 798 … OSL_ENSURE((nNewPos) < static_cast<sal_Int32>(m_vColumns.size()),"Illegal index for vector"); in adjustFormat() 799 if ( (nNewPos) < static_cast<sal_Int32>(m_vColumns.size()) ) in adjustFormat() 801 sal_Int32 nColPos = m_vColumns[nNewPos].first; in adjustFormat()
|
/aoo42x/main/ucb/source/sorter/ |
H A D | sortresult.cxx | 1755 long nCompare, nCurPos, nNewPos; in ResortModified() local 1773 nStart = nNewPos; in ResortModified() 1785 if ( nNewPos != nCurPos ) in ResortModified() 1789 maS2O.Insert( pData, nNewPos ); in ResortModified() 1806 pAction->ActionInfo <<= nNewPos-nCurPos; in ResortModified() 1810 nNewPos, 1 ); in ResortModified() 1822 long i, j, nNewPos, nVal; in ResortNew() local 1829 nNewPos = FindPos( pData, 1, mnLastSort ); in ResortNew() 1830 if ( nNewPos != i ) in ResortNew() 1833 maS2O.Insert( pData, nNewPos ); in ResortNew() [all …]
|
/aoo42x/main/sw/source/core/doc/ |
H A D | acmplwrd.cxx | 414 sal_uInt16 nMyPos = 0, nNewPos = 0; in CheckChangedList() local 416 for( ; nMyPos < nMyLen && nNewPos < nNewLen; ++nMyPos, ++nNewPos ) in CheckChangedList() 418 const StringPtr pStr = rNewLst[ nNewPos ]; in CheckChangedList() 436 for( ; nNewPos < nMyLen; ++nNewPos ) in CheckChangedList() 438 void* pDel = aWordLst[ nNewPos ]; in CheckChangedList()
|
/aoo42x/main/embedserv/source/embed/ |
H A D | ed_ipersiststr.cxx | 76 ULARGE_INTEGER nNewPos; in createTempXInStreamFromIStream() local 78 HRESULT hr = pStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in createTempXInStreamFromIStream() 136 ULARGE_INTEGER nNewPos; in copyXTempOutToIStream() local 138 HRESULT hr = pStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in copyXTempOutToIStream() 518 ULARGE_INTEGER nNewPos; in Load() local 520 hr = m_pExtStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in Load() 649 ULARGE_INTEGER nNewPos; in Save() local 651 hr = pNewExtStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in Save() 832 ULARGE_INTEGER nNewPos; in Load() local 834 hr = m_pExtStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in Load()
|
/aoo42x/main/svtools/source/contnr/ |
H A D | imivctl2.cxx | 351 long nNewPos = nPos; in GoPageUpDown() local 354 nNewPos += nEntriesInView; in GoPageUpDown() 355 if( nNewPos >= (long)pView->aEntries.Count() ) in GoPageUpDown() 356 nNewPos = pView->aEntries.Count() - 1; in GoPageUpDown() 360 nNewPos -= nEntriesInView; in GoPageUpDown() 361 if( nNewPos < 0 ) in GoPageUpDown() 362 nNewPos = 0; in GoPageUpDown() 364 if( nPos != nNewPos ) in GoPageUpDown() 365 return (SvxIconChoiceCtrlEntry*)pView->aEntries.GetObject( (sal_uLong)nNewPos ); in GoPageUpDown()
|
/aoo42x/main/tools/source/stream/ |
H A D | strmwnt.cxx | 269 DWORD nNewPos = 0; in SeekPos() local 274 nNewPos=SetFilePointer(pInstanceData->hFile,nPos,NULL,FILE_BEGIN); in SeekPos() 276 nNewPos=SetFilePointer(pInstanceData->hFile,0L,NULL,FILE_END); in SeekPos() 278 if( nNewPos == 0xFFFFFFFF ) in SeekPos() 281 nNewPos = 0L; in SeekPos() 286 return (sal_uIntPtr)nNewPos; in SeekPos()
|
/aoo42x/main/sw/source/ui/table/ |
H A D | swtablerep.cxx | 180 sal_uInt16 nNewPos = 0; in FillTabCols() local 196 while((bFirst || !bOld ) && nNewPos < nAllCols ) in FillTabCols() 198 nNew += pTColumns[nNewPos].nWidth; in FillTabCols() 199 nNewPos++; in FillTabCols() 200 if(pOldTColumns[nNewPos - 1].bVisible) in FillTabCols()
|
/aoo42x/main/basic/source/sbx/ |
H A D | sbxbase.cxx | 274 sal_uIntPtr nNewPos = rStrm.Tell(); in Load() local 276 DBG_ASSERT( nOldPos >= nNewPos, "SBX: Zu viele Daten eingelesen" ); in Load() 277 if( nOldPos != nNewPos ) in Load() 324 sal_uIntPtr nNewPos = rStrm.Tell(); in Store() local 326 rStrm << (sal_uInt32) ( nNewPos - nOldPos ); in Store() 327 rStrm.Seek( nNewPos ); in Store()
|
/aoo42x/main/svtools/source/brwbox/ |
H A D | brwhead.cxx | 98 nNewPos = GetItemPos( nId ); in EndDrag() local 101 nNewPos++; in EndDrag() 103 if (nOldPos != nNewPos) in EndDrag() 105 _pBrowseBox->SetColumnPos( nId, nNewPos ); in EndDrag()
|