/aoo4110/main/sfx2/source/bastyp/ |
H A D | minarray.cxx | 106 void** pNewData = new void*[nNewSize]; in Append() 109 DBG_ASSERT( nUsed <= nNewSize, "" ); in Append() 151 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, in Remove() 156 DBG_ASSERT( nPos <= nNewSize, "" ); in Remove() 245 sal_uInt16 nNewSize = nUsed+nGrow; in Insert() local 250 DBG_ASSERT( nUsed < nNewSize, "" ); in Insert() 341 char* pNewData = new char[nNewSize]; in Append() 386 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, in Remove() 459 sal_uInt16 nNewSize = nUsed+nGrow; in Insert() local 618 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, in Remove() [all …]
|
/aoo4110/main/tools/source/memtools/ |
H A D | contnr.cxx | 234 sal_uInt16 nNewSize; in Split() local 241 nNewSize = nReSize; in Split() 248 nNewSize = nReSize; in Split() 253 nNewSize += nReSize - (nNewSize % nReSize); in Split() 255 nNewSize = nNewSize + nReSize; // MSVC warns here if += is used in Split() 300 nSize = nNewSize; in Split() 345 nSize = nNewSize; in Split() 487 nSize = nNewSize; in SetSize() 1085 if ( nNewSize ) in SetSize() 1132 nCount = nNewSize; in SetSize() [all …]
|
/aoo4110/main/chart2/source/tools/ |
H A D | InternalData.cxx | 283 sal_Int32 nNewSize( nNewColumnCount*nNewRowCount ); in enlargeData() local 291 tDataType aNewData( fNan, nNewSize ); in enlargeData() 298 m_aData.resize( nNewSize ); in enlargeData() 317 tDataType aNewData( fNan, nNewSize ); in insertColumn() 331 m_aData.resize( nNewSize ); in insertColumn() 366 tDataType aNewData( fNan, nNewSize ); in insertRow() 383 m_aData.resize( nNewSize ); in insertRow() 405 tDataType aNewData( fNan, nNewSize ); in deleteColumn() 419 m_aData.resize( nNewSize ); in deleteColumn() 441 tDataType aNewData( fNan, nNewSize ); in deleteRow() [all …]
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | tokstack.cxx | 42 TokenStack::TokenStack( sal_uInt16 nNewSize ) in TokenStack() argument 44 pStack = new TokenId[ nNewSize ]; in TokenStack() 47 nSize = nNewSize; in TokenStack() 332 sal_uInt16 nNewSize = lcl_canGrow( nP_Ext); in GrowExt() local 333 if (!nNewSize) in GrowExt() 345 nP_Ext = nNewSize; in GrowExt() 352 sal_uInt16 nNewSize = lcl_canGrow( nP_Nlf); in GrowNlf() local 353 if (!nNewSize) in GrowNlf() 365 nP_Nlf = nNewSize; in GrowNlf() 373 if (!nNewSize) in GrowMatrix() [all …]
|
/aoo4110/main/sfx2/inc/sfx2/ |
H A D | minarray.hxx | 176 size_t nBytes = nNewSize * sizeof(T); \ 184 nUnused = (sal_uInt8)(nNewSize-nUsed); \ 219 sal_uInt16 nNewSize = ((nNewUsed+nGrow-1)/nGrow) * nGrow; \ 220 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, \ 222 size_t nBytes = nNewSize * sizeof(T); \ 232 nUnused = (sal_uInt8)(nNewSize - nNewUsed); \ 282 sal_uInt16 nNewSize; \ 283 for ( nNewSize = nUsed+nGrow; nNewSize < (nUsed + nLen); ++nNewSize ) \ 285 size_t nBytes = nNewSize * sizeof(T); \ 291 DBG_ASSERT( nUsed < nNewSize, "" ); \ [all …]
|
/aoo4110/main/sc/source/ui/view/ |
H A D | colrowba.cxx | 111 void ScColBar::SetEntrySize( SCCOLROW nPos, sal_uInt16 nNewSize ) in SetEntrySize() argument 115 if (nNewSize>0 && nNewSize<10) nNewSize=10; // (Pixel) in SetEntrySize() 117 if ( nNewSize == HDR_SIZE_OPTIMUM ) in SetEntrySize() 123 nSizeTwips = (sal_uInt16) ( nNewSize / pViewData->GetPPTX() ); in SetEntrySize() 278 void ScRowBar::SetEntrySize( SCCOLROW nPos, sal_uInt16 nNewSize ) in SetEntrySize() argument 282 if (nNewSize>0 && nNewSize<10) nNewSize=10; // (Pixel) in SetEntrySize() 284 if ( nNewSize == HDR_SIZE_OPTIMUM ) in SetEntrySize() 290 nSizeTwips = (sal_uInt16) ( nNewSize / pViewData->GetPPTY() ); in SetEntrySize()
|
/aoo4110/main/svx/source/dialog/ |
H A D | simptabl.cxx | 203 sal_uInt16 i, nNewSize = static_cast< sal_uInt16 >( GetTab(0) ), nPos = 0; in SetTabs() local 206 nNewSize = static_cast< sal_uInt16 >( GetTab(i) ) - nPos; in SetTabs() 207 aHeaderBar.SetItemSize( i, nNewSize ); in SetTabs() 226 sal_uInt16 nNewSize = ( nPrivTabCount > 0 ) ? (sal_uInt16)GetTab(0) : 0; in Paint() local 241 nNewSize = static_cast< sal_uInt16 >( GetTab(i) ) - nPos; in Paint() 242 aHeaderBar.SetItemSize( i, nNewSize ); in Paint() 442 sal_uInt16 nNewSize=0; in HBarEndDrag() local 452 nNewSize = static_cast< sal_uInt16 >( aHeaderBar.GetItemSize(i) ) + nPos; in HBarEndDrag() 453 SetTab( i, nNewSize, MAP_PIXEL ); in HBarEndDrag() 454 nPos = nNewSize; in HBarEndDrag()
|
/aoo4110/main/tools/source/generic/ |
H A D | poly.cxx | 172 if( mnPoints == nNewSize ) in ImplSetSize() 177 if ( nNewSize ) in ImplSetSize() 184 if ( mnPoints < nNewSize ) in ImplSetSize() 209 if( nNewSize ) in ImplSetSize() 211 pNewFlagAry = new sal_uInt8[ nNewSize ]; in ImplSetSize() 216 if ( mnPoints < nNewSize ) in ImplSetSize() 234 mnPoints = nNewSize; in ImplSetSize() 253 ImplSetSize( nNewSize, sal_True ); in ImplSplit() 299 mnPoints = nNewSize; in ImplSplit() 334 mnPoints = nNewSize; in ImplRemove() [all …]
|
H A D | poly2.cxx | 171 sal_uInt16 nNewSize = nOldSize + mpImplPolyPolygon->mnResize; in Insert() local 174 if ( nNewSize >= MAX_POLYGONS ) in Insert() 175 nNewSize = MAX_POLYGONS; in Insert() 176 pNewAry = new SVPPOLYGON[nNewSize]; in Insert() 182 mpImplPolyPolygon->mnSize = nNewSize; in Insert()
|
/aoo4110/main/sw/source/core/layout/ |
H A D | fly.cxx | 1504 nNewSize -= nUL; in Format() 1505 if( nNewSize < MINFLY ) in Format() 1506 nNewSize = MINFLY; in Format() 1511 if ( nNewSize != 0 ) in Format() 1530 nNewSize = Max( nNewSize - nLR, nAutoWidth ); in Format() 1532 nNewSize = nAutoWidth; in Format() 1540 nNewSize = nNewSize - nLR + 150; in Format() 1543 nNewSize -= nLR; in Format() 1547 if( nNewSize < MINFLY ) in Format() 1548 nNewSize = MINFLY; in Format() [all …]
|
/aoo4110/main/vcl/inc/vcl/ |
H A D | scrbar.hxx | 131 void SetLineSize( long nNewSize ) { mnLineSize = nNewSize; } in SetLineSize() argument 133 void SetPageSize( long nNewSize ) { mnPageSize = nNewSize; } in SetPageSize() argument 135 void SetVisibleSize( long nNewSize );
|
H A D | slider.hxx | 113 void SetLineSize( long nNewSize ) { mnLineSize = nNewSize; } in SetLineSize() argument 115 void SetPageSize( long nNewSize ) { mnPageSize = nNewSize; } in SetPageSize() argument
|
/aoo4110/main/autodoc/source/parser/tokens/ |
H A D | tkpstama.cxx | 125 intt nNewSize = nStatiSpace + C_nStatuslistResizeValue; in ResizeStati() local 127 StatusList pNewStati = new StmStatus*[nNewSize]; in ResizeStati() 135 (nNewSize-i) * sizeof(StmStatus*) ); in ResizeStati() 139 nStatiSpace = nNewSize; in ResizeStati()
|
/aoo4110/main/autodoc/source/parser_i/tokens/ |
H A D | tkpstam2.cxx | 122 intt nNewSize = nStatiSpace + C_nStatuslistResizeValue; in ResizeStati() local 124 StatusList pNewStati = new StmStatu2*[nNewSize]; in ResizeStati() 132 (nNewSize-i) * sizeof(StmStatu2*) ); in ResizeStati() 136 nStatiSpace = nNewSize; in ResizeStati()
|
/aoo4110/main/tools/source/stream/ |
H A D | stream.cxx | 2760 pBuf = new sal_uInt8[nNewSize]; in AllocateMemory() 2779 sal_Size nNewSize = (sal_Size)nTemp; in ReAllocateMemory() local 2781 if( nNewSize ) in ReAllocateMemory() 2783 sal_uInt8* pNewBuf = new sal_uInt8[nNewSize]; in ReAllocateMemory() 2788 if( nNewSize < nSize ) // Verkleinern ? in ReAllocateMemory() 2791 if( nPos > nNewSize ) in ReAllocateMemory() 2793 if( nEndOfData >= nNewSize ) in ReAllocateMemory() 2794 nEndOfData = nNewSize-1L; in ReAllocateMemory() 2804 nSize = nNewSize; in ReAllocateMemory() 2865 void SvMemoryStream::SetSize( sal_Size nNewSize ) in SetSize() argument [all …]
|
/aoo4110/main/sot/source/sdstor/ |
H A D | stgdir.cxx | 308 sal_Bool StgDirEntry::SetSize( sal_Int32 nNewSize ) in SetSize() argument 318 if( nNewSize < nPos ) in SetSize() 319 nPos = nNewSize; in SetSize() 322 pTmpStrm->SetSize( nNewSize ); in SetSize() 338 if( nNewSize >= nThreshold && pStgStrm->IsSmallStrm() ) in SetSize() 344 else if( nNewSize < nThreshold && !pStgStrm->IsSmallStrm() ) in SetSize() 347 nOldSize = (sal_uInt16) nNewSize; in SetSize() 351 if( pStgStrm->SetSize( nNewSize ) ) in SetSize()
|
/aoo4110/main/sc/source/core/data/ |
H A D | olinetab.cxx | 44 ScOutlineEntry::ScOutlineEntry( SCCOLROW nNewStart, SCCOLROW nNewSize, bool bNewHidden ) : in ScOutlineEntry() argument 46 nSize ( nNewSize ), in ScOutlineEntry() 77 void ScOutlineEntry::SetSize( SCSIZE nNewSize ) in SetSize() argument 79 if (nNewSize>0) in SetSize() 80 nSize = nNewSize; in SetSize() 87 void ScOutlineEntry::SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize ) in SetPosSize() argument 90 SetSize( nNewSize ); in SetPosSize()
|
/aoo4110/main/comphelper/source/streaming/ |
H A D | memorystream.cxx | 185 sal_Int64 nNewSize = static_cast< sal_Int64 >( mnCursor + nBytesToWrite ); in writeBytes() local 186 if( nNewSize > SAL_MAX_INT32 ) in writeBytes() 192 if( static_cast< sal_Int32 >( nNewSize ) > static_cast< sal_Int32 >( maData.size() ) ) in writeBytes() 193 maData.resize( static_cast< sal_Int32 >( nNewSize ) ); in writeBytes()
|
/aoo4110/main/chart2/source/view/charttypes/ |
H A D | Splines.cxx | 898 lcl_tSizeType nNewSize = nResolution * n + 1; in CalculateBSplines() local 899 rResult.SequenceX[nOuter].realloc(nNewSize); in CalculateBSplines() 900 rResult.SequenceY[nOuter].realloc(nNewSize); in CalculateBSplines() 901 rResult.SequenceZ[nOuter].realloc(nNewSize); in CalculateBSplines() 908 pNewX[nNewSize -1 ] = aPointsIn[n].first; in CalculateBSplines() 909 pNewY[nNewSize -1 ] = aPointsIn[n].second; in CalculateBSplines() 910 pNewZ[nNewSize -1 ] = fZCoordinate; in CalculateBSplines()
|
/aoo4110/main/svtools/source/filter/igif/ |
H A D | decode.cxx | 94 sal_uLong nNewSize = nTargetSize << 1; in DecompressBlock() local 96 HPBYTE pTmp = (HPBYTE) rtl_allocateMemory( nNewSize ); in DecompressBlock() 101 nTargetSize = nNewSize; in DecompressBlock()
|
/aoo4110/main/sc/source/ui/undo/ |
H A D | undoblk2.cxx | 77 nNewSize( nNewSizeTwips ), in ScUndoWidthOrHeight() 183 …pViewShell->SetWidthOrHeight( bWidth, nRangeCnt, pRanges, eMode, nNewSize, sal_False, sal_True, &a… in Redo() 195 …((ScTabViewTarget&)rTarget).GetViewShell()->SetMarkedWidthOrHeight( bWidth, eMode, nNewSize, sal_T… in Repeat()
|
/aoo4110/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 151 void ImpXPolygon::Resize( sal_uInt16 nNewSize, sal_Bool bDeletePoints ) in Resize() argument 153 if( nNewSize == nSize ) in Resize() 164 if ( nSize != 0 && nNewSize > nSize ) in Resize() 167 nNewSize = nSize + ((nNewSize-nSize-1) / nResize + 1) * nResize; in Resize() 170 nSize = nNewSize; in Resize() 497 void XPolygon::SetSize( sal_uInt16 nNewSize ) in SetSize() argument 500 pImpXPolygon->Resize( nNewSize ); in SetSize()
|
/aoo4110/main/sc/inc/ |
H A D | olinetab.hxx | 45 ScOutlineEntry( SCCOLROW nNewStart, SCCOLROW nNewSize, 58 void SetSize( SCSIZE nNewSize ); 59 void SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize );
|
/aoo4110/main/vcl/source/window/ |
H A D | splitwin.cxx | 478 pSet->mnSplitSize = nNewSize; in ImplSetSplitSize() 482 ImplSetSplitSize( pSet->mpItems[i].mpSet, nNewSize ); in ImplSetSplitSize() 2665 long nNewSize = mpSplitSet->mpItems[mnSplitPos].mnPixSize; in Tracking() local 2667 nNewSize -= nDelta; in Tracking() 2669 nNewSize += nDelta; in Tracking() 3259 void SplitWindow::SplitItem( sal_uInt16 nId, long nNewSize, in SplitItem() argument 3281 nNewSize = ValidateSize(nNewSize, pItems[nPos]); in SplitItem() 3285 pItems[nPos].mnSize = nNewSize; in SplitItem() 3289 nDelta = nNewSize-pItems[nPos].mnPixSize; in SplitItem() 3505 if ( pItem->mnSize != nNewSize ) in SetItemSize() [all …]
|
/aoo4110/main/sdext/source/presenter/ |
H A D | PresenterNotesView.cxx | 720 const sal_Int32 nNewSize (mpFont->mnSize + nSizeChange); in ChangeFontSize() local 721 if (nNewSize > 5) in ChangeFontSize() 723 mpFont->mnSize = nNewSize; in ChangeFontSize() 744 pConfiguration->SetProperty(A2S("Size"), Any((sal_Int32)(nNewSize+0.5))); in ChangeFontSize()
|