/aoo41x/main/cosv/source/strings/ |
H A D | streamstr.cxx | 385 seek_type nNewPos = tellp(); in seekp() local 389 case ::csv::beg: nNewPos = i_nCount; in seekp() 391 case ::csv::cur: nNewPos += i_nCount; in seekp() 393 case ::csv::end: nNewPos = nLength + i_nCount; in seekp() 397 if ( in_range<seek_type>(0, nNewPos, nLength + 1) ) in seekp() 399 pCur = dpData + nNewPos; in seekp()
|
/aoo41x/main/svtools/source/brwbox/ |
H A D | brwbox1.cxx | 545 sal_uInt16 nNewPos = nPos; in SetColumnPos() local 547 --nNewPos; in SetColumnPos() 548 getDataWindow()->pHeaderBar->MoveItem(nColumnId,nNewPos); in SetColumnPos() 1709 sal_uInt16 nNewPos = GetColumnPos(nColId); in GoToColumnId() local 1710 BrowserColumn* pColumn = pCols->GetObject( nNewPos ); in GoToColumnId() 1724 nNewPos >= nFrozen && ( nNewPos < nFirstPos || nNewPos > nLastPos ) ) in GoToColumnId() 1726 if ( nNewPos < nFirstPos ) in GoToColumnId() 1727 ScrollColumns( nNewPos-nFirstPos ); in GoToColumnId() 1728 else if ( nNewPos > nLastPos ) in GoToColumnId() 1729 ScrollColumns( nNewPos-nLastPos ); in GoToColumnId()
|
H A D | brwbox2.cxx | 2014 sal_uInt16 nNewPos = GetColumnPos( GetCurColumnId() ) + 1; in Dispatch() local 2015 sal_uInt16 nNewId = GetColumnId( nNewPos ); in Dispatch() 2043 sal_uInt16 nNewPos = GetColumnPos( GetCurColumnId() ) - 1; in Dispatch() local 2044 sal_uInt16 nNewId = GetColumnId( nNewPos ); in Dispatch() 2076 sal_uInt16 nNewPos = GetColumnPos(nColId); in Dispatch() local 2078 if ( BROWSER_MOVECOLUMNLEFT == nId && nNewPos > 1 ) in Dispatch() 2079 --nNewPos,bMoveAllowed = sal_True; in Dispatch() 2080 else if ( BROWSER_MOVECOLUMNRIGHT == nId && nNewPos < (ColCount()-1) ) in Dispatch() 2081 ++nNewPos,bMoveAllowed = sal_True; in Dispatch() 2085 SetColumnPos( nColId, nNewPos ); in Dispatch()
|
/aoo41x/main/vcl/source/window/ |
H A D | splitwin.cxx | 2957 if ( nNewPos >= pNewSet->mnItems ) in MoveItem() 2958 nNewPos = pNewSet->mnItems-1; in MoveItem() 2959 if ( nPos != nNewPos ) in MoveItem() 2962 if ( nPos < nNewPos ) in MoveItem() 2965 (nNewPos-nPos)*sizeof( ImplSplitItem ) ); in MoveItem() 2969 memmove( pSet->mpItems+nNewPos+1, pSet->mpItems+nNewPos, in MoveItem() 2979 if ( nNewPos >= pNewSet->mnItems ) in MoveItem() 2980 nNewPos = pNewSet->mnItems; in MoveItem() 2995 if ( nNewPos ) in MoveItem() 2997 if ( nNewPos < pNewSet->mnItems ) in MoveItem() [all …]
|
/aoo41x/main/sw/source/core/inc/ |
H A D | wrong.hxx | 259 xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere ) in Insert() argument 267 maList.insert(i, SwWrongArea( rType, meType, xPropertyBag, nNewPos, nNewLen) ); in Insert() 272 xub_StrLen nNewPos, xub_StrLen nNewLen ); 279 …void InsertSubList( xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere, SwWrongList* pSubLi…
|
/aoo41x/main/sc/source/core/data/ |
H A D | olinetab.cxx | 68 SCCOLROW nNewPos = nStart + nDelta; in Move() local 69 if (nNewPos<0) in Move() 72 nNewPos = 0; in Move() 74 nStart = nNewPos; in Move() 87 void ScOutlineEntry::SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize ) in SetPosSize() argument 89 nStart = nNewPos; in SetPosSize()
|
H A D | documen9.cxx | 265 void ScDocument::DrawMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos ) in DrawMovePage() argument 267 pDrawLayer->ScMovePage(nOldPos,nNewPos); in DrawMovePage() 270 void ScDocument::DrawCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos ) in DrawCopyPage() argument 273 pDrawLayer->ScCopyPage( nOldPos, nNewPos, sal_False ); in DrawCopyPage()
|
H A D | conditio.cxx | 546 void ScConditionEntry::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ) in UpdateMoveTab() argument 552 aComp.UpdateMoveTab(nOldPos, nNewPos, sal_True ); in UpdateMoveTab() 559 aComp.UpdateMoveTab(nOldPos, nNewPos, sal_True ); in UpdateMoveTab() 1472 void ScConditionalFormat::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ) in UpdateMoveTab() argument 1475 ppEntries[i]->UpdateMoveTab( nOldPos, nNewPos ); in UpdateMoveTab() 1578 void ScConditionalFormatList::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ) in UpdateMoveTab() argument 1582 (*this)[i]->UpdateMoveTab( nOldPos, nNewPos ); in UpdateMoveTab()
|
/aoo41x/main/tools/source/stream/ |
H A D | strmos2.cxx | 275 sal_uIntPtr nNewPos = 0L; in SeekPos() local 282 FILE_BEGIN, &nNewPos ); in SeekPos() 285 FILE_END, &nNewPos ); in SeekPos() 292 return nNewPos; in SeekPos()
|
H A D | stream.cxx | 2792 sal_Size SvMemoryStream::SeekPos( sal_Size nNewPos ) in SeekPos() argument 2794 if( nNewPos < nEndOfData ) in SeekPos() 2795 nPos = nNewPos; in SeekPos() 2796 else if( nNewPos == STREAM_SEEK_TO_END ) in SeekPos() 2800 if( nNewPos >= nSize ) // muss Buffer vergroessert werden ? in SeekPos() 2804 long nDiff = (long)(nNewPos - nSize + 1); in SeekPos() 2807 nPos = nNewPos; in SeekPos() 2808 nEndOfData = nNewPos; in SeekPos() 2818 nPos = nNewPos; in SeekPos() 2819 nEndOfData = nNewPos; in SeekPos()
|
H A D | strmunx.cxx | 421 long nNewPos; in SeekPos() local 423 nNewPos = lseek( pInstanceData->nHandle, (long)nPos, SEEK_SET ); in SeekPos() 425 nNewPos = lseek( pInstanceData->nHandle, 0L, SEEK_END ); in SeekPos() 427 if ( nNewPos == -1 ) in SeekPos()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdlayer.cxx | 349 SdrLayer* SdrLayerAdmin::MoveLayer(sal_uInt16 nPos, sal_uInt16 nNewPos) in MoveLayer() argument 353 aLayer.Insert(pLayer,nNewPos); in MoveLayer() 360 void SdrLayerAdmin::MoveLayer(SdrLayer* pLayer, sal_uInt16 nNewPos) in MoveLayer() argument 365 aLayer.Insert(pLayer,nNewPos); in MoveLayer()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | impvect.cxx | 669 sal_uLong nNewPos; in ImplPostProcess() local 679 for( n = nNewPos = 1; n < nCount; ) in ImplPostProcess() 687 pLast = pLeast = &( aNewArr1[ nNewPos++ ] ); in ImplPostProcess() 693 aNewArr1.ImplSetRealSize( nCount = nNewPos ); in ImplPostProcess() 700 for( n = nNewPos = 1; n < nCount; ) in ImplPostProcess() 715 aNewArr2[ nNewPos++ ] = *( pLast = pLeast ); in ImplPostProcess() 718 aNewArr2.ImplSetRealSize( nNewPos ); in ImplPostProcess()
|
/aoo41x/main/svx/source/gallery2/ |
H A D | galtheme.cxx | 544 sal_Bool GalleryTheme::ChangeObjectPos( sal_uIntPtr nOldPos, sal_uIntPtr nNewPos ) in ChangeObjectPos() argument 548 if( nOldPos != nNewPos ) in ChangeObjectPos() 554 aObjectList.Insert( pEntry, nNewPos ); in ChangeObjectPos() 556 if( nNewPos < nOldPos ) in ChangeObjectPos() 561 ImplBroadcast( ( nNewPos < nOldPos ) ? nNewPos : ( nNewPos - 1 ) ); in ChangeObjectPos()
|
/aoo41x/main/sc/inc/ |
H A D | conditio.hxx | 147 void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ); 229 void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ); 284 void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos );
|
/aoo41x/main/sd/source/core/ |
H A D | EffectMigration.cxx | 1142 void EffectMigration::SetPresentationOrder( SvxShape* pShape, sal_Int32 nNewPos ) in SetPresentationOrder() argument 1195 if( nCurrentPos != nNewPos ) in SetPresentationOrder() 1207 if( nNewPos > nCurrentPos ) in SetPresentationOrder() 1208 nNewPos++; in SetPresentationOrder() 1213 if( nNewPos == (sal_Int32)aEffectVector.size() ) in SetPresentationOrder() 1222 EffectSequence::iterator aPos( aEffectVector[nNewPos][0] ); in SetPresentationOrder()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unotext.cxx | 1409 sal_uInt16 nNewPos = maSelection.nEndPos; in GoLeft() local 1414 while ( nCount > nNewPos && bOk ) in GoLeft() 1424 nCount -= nNewPos + 1; in GoLeft() 1425 nNewPos = pForwarder->GetTextLen( nNewPar ); in GoLeft() 1431 nNewPos = nNewPos - nCount; in GoLeft() 1433 maSelection.nStartPos = nNewPos; in GoLeft() 1450 sal_uInt16 nNewPos = maSelection.nEndPos + nCount; //! Ueberlauf ??? in GoRight() local 1456 while ( nNewPos > nThisLen && bOk ) in GoRight() 1462 nNewPos -= nThisLen+1; in GoRight() 1471 maSelection.nEndPos = nNewPos; in GoRight()
|
/aoo41x/main/svx/source/fmcomp/ |
H A D | gridctrl.cxx | 2001 sal_Int32 nNewPos = AlignSeekCursor(); in AdjustRows() local 2003 DbGridControl_Base::GoToRow(nNewPos); in AdjustRows() 2005 SetCurrent(nNewPos); in AdjustRows() 2008 GoToRowColumnId(nNewPos, GetColumnId(GetCurColumnId())); in AdjustRows() 2330 sal_Int32 nNewPos = AlignSeekCursor(); in AdjustDataSource() local 2331 if (nNewPos < 0) // keine Position gefunden in AdjustDataSource() 2335 if (nNewPos != m_nCurrentPos) in AdjustDataSource() 2338 DbGridControl_Base::GoToRow(nNewPos); in AdjustDataSource() 2345 SetCurrent(nNewPos); in AdjustDataSource() 2349 SetCurrent(nNewPos); in AdjustDataSource() [all …]
|
/aoo41x/main/sw/source/core/undo/ |
H A D | unins.cxx | 610 sal_uLong nNewPos = pStt->nNode.GetIndex(); in Impl() local 611 m_nOffset = m_nSttNd - nNewPos; in Impl() 615 pHistory->CopyAttr( pNd->GetpSwpHints(), nNewPos, 0, in Impl() 622 pHistory->CopyFmtAttr( *pNd->GetpSwAttrSet(), nNewPos ); in Impl() 623 pHistory->Add( pNd->GetTxtColl(), nNewPos, ND_TEXTNODE ); in Impl()
|
/aoo41x/main/framework/source/tabwin/ |
H A D | tabwindow.cxx | 691 sal_Int32 nNewPos = nPos; in setTabProps() local 696 nNewPos = aSeqHashMap.getUnpackedValueOrDefault< sal_Int32 >( in setTabProps() 697 m_aPosPropName, nNewPos ); in setTabProps() 698 if ( nNewPos != sal_Int32( nPos )) in setTabProps() 700 nPos = sal_uInt16( nNewPos ); in setTabProps()
|
/aoo41x/main/svl/source/filerec/ |
H A D | filerec.cxx | 988 sal_uInt32 nNewPos = _nStartPos + nOffset; in GetContent() local 989 …DBG_ASSERT( nNewPos >= _pStream->Tell(), "SfxMultiRecordReader::GetContent() - New position before… in GetContent() 997 _pStream->Seek( nNewPos ); in GetContent()
|
/aoo41x/main/vcl/source/control/ |
H A D | slider.cxx | 551 long Slider::ImplSlide( long nNewPos, sal_Bool bCallEndSlide ) in ImplSlide() argument 554 SetThumbPos( nNewPos ); in ImplSlide() 665 long Slider::ImplDoSlide( long nNewPos ) in ImplDoSlide() argument 671 long nDelta = ImplSlide( nNewPos, sal_True ); in ImplDoSlide()
|
/aoo41x/main/svx/inc/svx/ |
H A D | svdhlpln.hxx | 94 … Move(sal_uInt16 nPos, sal_uInt16 nNewPos) { aList.Insert(aList.Remove(n… in Move() argument
|
/aoo41x/main/sc/source/ui/inc/ |
H A D | csvruler.hxx | 117 void MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ); 126 SC_DLLPRIVATE void MoveCurrSplit( sal_Int32 nNewPos );
|
/aoo41x/main/sc/source/core/tool/ |
H A D | dbcolect.cxx | 863 void ScDBCollection::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ) in UpdateMoveTab() argument 877 nTab = nNewPos; in UpdateMoveTab() 878 else if ( nOldPos < nNewPos ) // nach hinten verschoben in UpdateMoveTab() 880 if ( nTab > nOldPos && nTab <= nNewPos ) // nachrueckender Bereich in UpdateMoveTab() 885 if ( nTab >= nNewPos && nTab < nOldPos ) // nachrueckender Bereich in UpdateMoveTab()
|