/trunk/main/autodoc/source/cosv/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()
|
/trunk/main/basctl/source/basicide/ |
H A D | moduldl2.cxx | 929 sal_uLong nNewPos = aLibBox.GetEntryCount(); in InsertLib() local 1151 SvLBoxEntry* pFirstNew = aLibBox.GetEntry( nNewPos ); in InsertLib()
|
/trunk/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()
|
H A D | sbxobj.cxx | 754 sal_uIntPtr nNewPos = rStrm.Tell(); in LoadData() local 756 DBG_ASSERT( nPos >= nNewPos, "SBX: Zu viele Daten eingelesen" ); in LoadData() 757 if( nPos != nNewPos ) in LoadData()
|
/trunk/main/comphelper/source/streaming/ |
H A D | oslfile2streamwrap.cxx | 111 sal_uInt64 nNewPos = nCurrentPos + nBytesToSkip; in skipBytes() local 112 FileBase::RC eError = m_pFile->setPos(osl_Pos_Absolut, nNewPos); in skipBytes()
|
/trunk/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 …]
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | AResultSet.cxx | 497 sal_Int32 nNewPos = row; in relative() local 498 if ( m_bOnFirstAfterOpen && nNewPos > 0 ) in relative() 499 --nNewPos; in relative()
|
/trunk/main/dbaccess/source/ui/misc/ |
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()
|
H A D | WCopyTable.cxx | 1363 for(sal_Int32 nNewPos=1;pIter != pEnd;++pIter,++nNewPos) in createTable() local 1382 aPosFind->second = nNewPos; in createTable()
|
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);
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | SelectionBrowseBox.cxx | 355 sal_uInt16 nNewPos = GetColumnPos( nColId ); in ColumnMoved() local 357 if ( rFields.size() > sal_uInt16(nNewPos-1) ) in ColumnMoved() 365 OSL_ENSURE( (nNewPos-1) != nOldPos && nOldPos < rFields.size(),"Old and new position are equal!"); in ColumnMoved() 370 rFields.insert(rFields.begin() + nNewPos - 1,pOldEntry); in ColumnMoved()
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 1188 long nNewPos = -1; in checkEntries() local 1204 if ( nNewPos == - 1) in checkEntries() 1205 nNewPos = nPos; in checkEntries() 1228 if ( nNewPos != - 1) in checkEntries() 1229 selectEntry( nNewPos ); in checkEntries()
|
/trunk/main/editeng/inc/editeng/ |
H A D | editview.hxx | 170 void MoveParagraphs( Range aParagraphs, sal_uInt32 nNewPos );
|
/trunk/main/editeng/source/editeng/ |
H A D | editview.cxx | 715 void EditView::MoveParagraphs( Range aParagraphs, sal_uInt32 nNewPos ) in MoveParagraphs() argument 720 PIMPEE->MoveParagraphs( aParagraphs, nNewPos, this ); in MoveParagraphs()
|
H A D | impedit.hxx | 579 EditSelection ImpMoveParagraphs( Range aParagraphs, sal_uInt32 nNewPos ); 802 EditSelection MoveParagraphs( Range aParagraphs, sal_uInt32 nNewPos, EditView* pCurView );
|
H A D | impedit2.cxx | 2181 EditSelection ImpEditEngine::ImpMoveParagraphs( Range aOldPositions, sal_uInt32 nNewPos ) in ImpMoveParagraphs() argument 2184 …sal_Bool bValidAction = ( (long)nNewPos < aOldPositions.Min() ) || ( (long)nNewPos > aOldPositions… in ImpMoveParagraphs() 2198 if ( nNewPos >= nParaCount ) in ImpMoveParagraphs() 2199 nNewPos = GetParaPortions().Count(); in ImpMoveParagraphs() 2207 if ( nNewPos == 0 ) // Move to Start in ImpMoveParagraphs() 2212 else if ( nNewPos == nParaCount ) in ImpMoveParagraphs() 2229 …_uInt32 >(aOldPositions.Min()), sal::static_int_cast< sal_uInt32 >(aOldPositions.Max()), nNewPos ); in ImpMoveParagraphs() 2233 InsertUndo( new EditUndoMoveParagraphs( this, aOldPositions, nNewPos ) ); in ImpMoveParagraphs() 2236 ParaPortion* pDestPortion = GetParaPortions().SaveGetObject( nNewPos ); in ImpMoveParagraphs() 2273 aNotify.nParagraph = nNewPos; in ImpMoveParagraphs()
|
H A D | impedit3.cxx | 4030 EditSelection ImpEditEngine::MoveParagraphs( Range aOldPositions, sal_uInt32 nNewPos, EditView* pCu… in MoveParagraphs() argument 4037 EditSelection aSel( ImpMoveParagraphs( aOldPositions, nNewPos ) ); in MoveParagraphs() 4039 if ( nNewPos >= GetParaPortions().Count() ) in MoveParagraphs() 4040 nNewPos = GetParaPortions().Count() - 1; in MoveParagraphs() 4049 sal_uInt32 nFirstPortion = Min( (sal_uInt32)aOldPositions.Min(), nNewPos ); in MoveParagraphs() 4050 sal_uInt32 nLastPortion = Max( (sal_uInt32)aOldPositions.Max(), nNewPos ); in MoveParagraphs() 4066 sal_uInt32 nFirstInvPara = Min( (sal_uInt32)aOldPositions.Min(), nNewPos ); in MoveParagraphs()
|
/trunk/main/editeng/source/items/ |
H A D | paraitem.cxx | 1136 sal_Int32 nNewPos = 0; in PutValue() local 1137 if (!(rVal >>= nNewPos) ) in PutValue() 1140 SvxTabStop aNewTab ( bConvert ? MM100_TO_TWIP ( nNewPos ) : nNewPos, in PutValue()
|
/trunk/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()
|
/trunk/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()
|
/trunk/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()
|
/trunk/main/odk/examples/DevelopersGuide/Spreadsheet/ |
H A D | ExampleDataPilotSource.java | 616 int nNewPos = ((Integer) aValue).intValue(); in setPropertyValue() local 621 aSettings.aColDimensions.add( nNewPos, aDimInt ); in setPropertyValue() 626 aSettings.aRowDimensions.add( nNewPos, aDimInt ); in setPropertyValue()
|
/trunk/main/sc/inc/ |
H A D | addincol.hxx | 134 void SetCallerPos( long nNewPos );
|
H A D | cell.hxx | 403 void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo);
|
H A D | column.hxx | 289 void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo); 385 void UpdateInsertTabAbs(SCTAB nNewPos);
|