| /AOO41X/main/vcl/source/gdi/ |
| H A D | region.cxx | 464 RegionBand* pNew = new RegionBand(*getRegionBand()); in Move() local 466 pNew->Move(nHorzMove, nVertMove); in Move() 469 mpRegionBand.reset(pNew); in Move() 511 RegionBand* pNew = new RegionBand(*getRegionBand()); in Scale() local 513 pNew->Scale(fScaleX, fScaleY); in Scale() 516 mpRegionBand.reset(pNew); in Scale() 581 RegionBand* pNew = new RegionBand(*pCurrent); in Union() local 590 pNew->InsertBands(nTop, nBottom); in Union() 593 pNew->Union(nLeft, nTop, nRight, nBottom); in Union() 596 if(!pNew->OptimizeBandList()) in Union() [all …]
|
| H A D | outdevnative.cxx | 148 SliderValue* pNew = new SliderValue( *pSlVal ); in lcl_transformControlValue() local 149 aResult.reset( pNew ); in lcl_transformControlValue() 150 pNew->maThumbRect = rDev.ImplLogicToDevicePixel( pSlVal->maThumbRect ); in lcl_transformControlValue() 156 ScrollbarValue* pNew = new ScrollbarValue( *pScVal ); in lcl_transformControlValue() local 157 aResult.reset( pNew ); in lcl_transformControlValue() 158 pNew->maThumbRect = rDev.ImplLogicToDevicePixel( pScVal->maThumbRect ); in lcl_transformControlValue() 159 pNew->maButton1Rect = rDev.ImplLogicToDevicePixel( pScVal->maButton1Rect ); in lcl_transformControlValue() 160 pNew->maButton2Rect = rDev.ImplLogicToDevicePixel( pScVal->maButton2Rect ); in lcl_transformControlValue() 166 SpinbuttonValue* pNew = new SpinbuttonValue( *pSpVal ); in lcl_transformControlValue() local 167 aResult.reset( pNew ); in lcl_transformControlValue() [all …]
|
| /AOO41X/main/sal/inc/rtl/ |
| H A D | ustring.hxx | 941 rtl_uString* pNew = 0; in copy() local 942 … rtl_uString_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, getLength()-beginIndex ); in copy() 943 return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); in copy() 966 rtl_uString* pNew = 0; in copy() local 967 rtl_uString_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, count ); in copy() 968 return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); in copy() 982 rtl_uString* pNew = 0; in concat() local 983 rtl_uString_newConcat( &pNew, pData, str.pData ); in concat() 984 return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); in concat() 1007 rtl_uString* pNew = 0; in replaceAt() local [all …]
|
| H A D | string.hxx | 573 rtl_String* pNew = 0; in copy() local 574 … rtl_string_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, getLength()-beginIndex ); in copy() 575 return OString( pNew, (DO_NOT_ACQUIRE*)0 ); in copy() 598 rtl_String* pNew = 0; in copy() local 599 rtl_string_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, count ); in copy() 600 return OString( pNew, (DO_NOT_ACQUIRE*)0 ); in copy() 614 rtl_String* pNew = 0; in concat() local 615 rtl_string_newConcat( &pNew, pData, str.pData ); in concat() 616 return OString( pNew, (DO_NOT_ACQUIRE*)0 ); in concat() 639 rtl_String* pNew = 0; in replaceAt() local [all …]
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | docredln.cxx | 632 SwRedline* pNew = new SwRedline( *pRedl ); in AppendRedline() local 633 pNew->SetStart( *pEnd ); in AppendRedline() 637 AppendRedline( pNew, bCallDelete ); in AppendRedline() 666 SwRedline* pNew = new SwRedline( *pNewRedl ); in AppendRedline() local 667 pNew->SetStart( *pREnd ); in AppendRedline() 669 AppendRedline( pNew, bCallDelete ); in AppendRedline() 898 SwRedline* pNew = 0; in AppendRedline() local 934 pNew = new SwRedline( *pRedl ); in AppendRedline() 935 pNew->SetStart( *pEnd ); in AppendRedline() 955 pNew = new SwRedline( *pNewRedl ); in AppendRedline() [all …]
|
| H A D | tblafmt.cxx | 323 pNew = aItem.Create(rStream, nVers ); \ 324 aItem = *(aItemType*)pNew; \ 325 delete pNew; 329 SfxPoolItem* pNew; in Load() local 373 pNew = aAdjust.Create(rStream, rVersions.nAdjustVersion ); in Load() 374 SetAdjust( *(SvxAdjustItem*)pNew ); in Load() 375 delete pNew; in Load() 382 pNew = aLinebreak.Create(rStream, rVersions.nBoolVersion ); in Load() 383 aLinebreak.SetValue( ((SfxBoolItem*)pNew)->GetValue() ); in Load() 384 delete pNew; in Load() [all …]
|
| H A D | doctxm.cxx | 254 const SwTOXMark* pNew = 0; in GotoTOXMark() local 291 (!pNew || in GotoTOXMark() 292 (pNew && (aPrevPos < aAbsIdx || in GotoTOXMark() 293 sal_uLong(pNew) < sal_uLong(pTOXMark)))))) || in GotoTOXMark() 295 sal_uLong(pTOXMark) > sal_uLong(pNew)) ) in GotoTOXMark() 297 pNew = pTOXMark; in GotoTOXMark() 316 (!pNew || in GotoTOXMark() 317 (pNew && (aNextPos > aAbsIdx || in GotoTOXMark() 318 sal_uLong(pNew) > sal_uLong(pTOXMark)))))) || in GotoTOXMark() 320 sal_uLong(pTOXMark) < sal_uLong(pNew)) ) in GotoTOXMark() [all …]
|
| H A D | fmtcol.cxx | 131 void SwTxtFmtColl::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) in Modify() argument 135 SwFmtColl::Modify( pOld, pNew ); in Modify() 152 switch( pOld ? pOld->Which() : pNew ? pNew->Which() : 0 ) in Modify() 156 pNewChgSet = (SwAttrSetChg*)pNew; in Modify() 198 pNewLRSpace = (SvxLRSpaceItem*)pNew; in Modify() 201 pNewULSpace = (SvxULSpaceItem*)pNew; in Modify() 204 aFontSizeArr[0] = (SvxFontHeightItem*)pNew; in Modify() 207 aFontSizeArr[1] = (SvxFontHeightItem*)pNew; in Modify() 210 aFontSizeArr[2] = (SvxFontHeightItem*)pNew; in Modify() 216 pNewNumRuleItem = (SwNumRuleItem*)pNew; in Modify() [all …]
|
| /AOO41X/main/sal/rtl/source/ |
| H A D | byteseq.c | 45 sal_Sequence * pSequence, * pNew; in rtl_byte_sequence_reference2One() local 56 pNew = (sal_Sequence *)rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nElements ); in rtl_byte_sequence_reference2One() 58 if ( pNew != 0 ) in rtl_byte_sequence_reference2One() 59 rtl_copyMemory( pNew->elements, pSequence->elements, nElements ); in rtl_byte_sequence_reference2One() 66 pNew = (sal_Sequence *)rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE ); in rtl_byte_sequence_reference2One() 69 if ( pNew != 0 ) in rtl_byte_sequence_reference2One() 71 pNew->nRefCount = 1; in rtl_byte_sequence_reference2One() 72 pNew->nElements = nElements; in rtl_byte_sequence_reference2One() 75 *ppSequence = pNew; in rtl_byte_sequence_reference2One() 83 sal_Sequence * pSequence, * pNew; in rtl_byte_sequence_realloc() local [all …]
|
| /AOO41X/main/xml2cmp/source/support/ |
| H A D | heap.cxx | 70 HeapItem * pNew = new HeapItem(i_sKey, i_sValue); in InsertValue() local 75 if ( pSearch1 != 0 ? *pNew < *pSearch1 : true ) in InsertValue() 77 pNew->SetNext( pSearch1 ); in InsertValue() 78 ActiveColumn() = pNew; in InsertValue() 80 if ( pNew->Next() != 0) in InsertValue() 82 AssertionOf( *pNew <= *pNew->Next() ); in InsertValue() 93 if ( pSearch1 != 0 ? *pNew < *pSearch1 : true ) in InsertValue() 95 pNew->SetNext( pSearch1 ); in InsertValue() 96 pSearch2->SetNext(pNew); in InsertValue() 99 AssertionOf( *pSearch2 <= *pNew ); in InsertValue() [all …]
|
| /AOO41X/main/sw/source/core/undo/ |
| H A D | SwUndoFmt.cxx | 44 : SwUndo(nUndoId), pNew(_pNew), in SwUndoFmtCreate() 57 if (pNew) in UndoImpl() 59 if (sNewName.Len() == 0 && pNew) in UndoImpl() 60 sNewName = pNew->GetName(); in UndoImpl() 63 pNew = Find(sNewName); in UndoImpl() 65 if (pNew) in UndoImpl() 67 pNewSet = new SfxItemSet(pNew->GetAttrSet()); in UndoImpl() 68 nId = pNew->GetPoolFmtId() & COLL_GET_RANGE_BITS; in UndoImpl() 69 bAuto = pNew->IsAuto(); in UndoImpl() 89 pNew = pFmt; in RedoImpl() [all …]
|
| /AOO41X/main/sc/source/core/data/ |
| H A D | dpsave.cxx | 242 ScDPSaveMember* pNew = new ScDPSaveMember( **i ); in ScDPSaveDimension() local 243 maMemberHash[rName] = pNew; in ScDPSaveDimension() 244 maMemberList.push_back( pNew ); in ScDPSaveDimension() 471 void ScDPSaveDimension::SetReferenceValue(const sheet::DataPilotFieldReference* pNew) in SetReferenceValue() argument 474 if (pNew) in SetReferenceValue() 475 pReferenceValue = new sheet::DataPilotFieldReference(*pNew); in SetReferenceValue() 480 void ScDPSaveDimension::SetSortInfo(const sheet::DataPilotFieldSortInfo* pNew) in SetSortInfo() argument 483 if (pNew) in SetSortInfo() 484 pSortInfo = new sheet::DataPilotFieldSortInfo(*pNew); in SetSortInfo() 489 void ScDPSaveDimension::SetAutoShowInfo(const sheet::DataPilotFieldAutoShowInfo* pNew) in SetAutoShowInfo() argument [all …]
|
| /AOO41X/main/cppu/source/uno/ |
| H A D | sequence.cxx | 50 uno_Sequence * pNew = 0; in reallocSeq() local 56 pNew = (uno_Sequence *) rtl_allocateMemory( nSize ); in reallocSeq() 60 pNew = (uno_Sequence *) rtl_reallocateMemory( pReallocate, nSize ); in reallocSeq() 62 if (pNew != 0) in reallocSeq() 65 pNew->nRefCount = 1; in reallocSeq() 66 pNew->nElements = nElements; in reallocSeq() 69 return pNew; in reallocSeq() 635 uno_Sequence * pNew = icopyConstructSequence( in icopyConstructFromElements() local 638 OSL_ASSERT( pNew != 0 ); in icopyConstructFromElements() 641 pDestElements[ nPos ] = pNew; in icopyConstructFromElements() [all …]
|
| /AOO41X/main/sw/source/core/edit/ |
| H A D | edlingu.cxx | 92 inline void SetEnd( SwPosition* pNew ){ delete pEnd; pEnd = pNew; } in SetEnd() argument 95 inline void SetStart( SwPosition* pNew ){ delete pStart; pStart = pNew; } in SetStart() argument 98 inline void SetCurr( SwPosition* pNew ){ delete pCurr; pCurr = pNew; } in SetCurr() argument 101 inline void SetCurrX( SwPosition* pNew ){ delete pCurrX; pCurrX = pNew; } in SetCurrX() argument 273 SwPosition* pNew = new SwPosition( *GetStart() ); in _Start() local 274 SetCurr( pNew ); in _Start() 275 pNew = new SwPosition( *pNew ); in _Start() 276 SetCurrX( pNew ); in _Start() 386 SwPosition* pNew = new SwPosition( *pCrsr->GetPoint() ); in Continue() local 387 SetStart( pNew ); in Continue() [all …]
|
| H A D | edglbldc.cxx | 80 SwGlblDocContentPtr pNew; in GetGlobalDocContent() local 86 pNew = new SwGlblDocContent( (SwTOXBaseSection*)pSect ); in GetGlobalDocContent() 90 pNew = new SwGlblDocContent( pSect ); in GetGlobalDocContent() 93 if( !rArr.Insert( pNew ) ) in GetGlobalDocContent() 94 delete pNew; in GetGlobalDocContent() 110 SwGlblDocContentPtr pNew = new SwGlblDocContent( nSttIdx ); in GetGlobalDocContent() local 111 if( !rArr.Insert( pNew ) ) in GetGlobalDocContent() 112 delete pNew; in GetGlobalDocContent() 131 SwGlblDocContentPtr pNew = new SwGlblDocContent( nSttIdx ); in GetGlobalDocContent() local 132 if( !rArr.Insert( pNew ) ) in GetGlobalDocContent() [all …]
|
| /AOO41X/main/svx/source/sdr/animation/ |
| H A D | scheduler.cxx | 52 void Event::SetNext(Event* pNew) in SetNext() argument 54 if(pNew != mpNext) in SetNext() 56 mpNext = pNew; in SetNext() 92 void EventList::Insert(Event* pNew) in Insert() argument 94 if(pNew) in Insert() 99 while(pCurrent && pCurrent->GetTime() < pNew->GetTime()) in Insert() 107 pNew->SetNext(pPrev->GetNext()); in Insert() 108 pPrev->SetNext(pNew); in Insert() 112 pNew->SetNext(mpHead); in Insert() 113 mpHead = pNew; in Insert() [all …]
|
| /AOO41X/main/svx/source/sdr/primitive2d/ |
| H A D | sdrdecompositiontools.cxx | 174 SdrTextPrimitive2D* pNew = 0; in createTextPrimitive() local 202 pNew = new SdrContourTextPrimitive2D( in createTextPrimitive() 211 pNew = new SdrContourTextPrimitive2D( in createTextPrimitive() 223 pNew = new SdrPathTextPrimitive2D( in createTextPrimitive() 277 pNew = new SdrStretchTextPrimitive2D( in createTextPrimitive() 286 pNew = new SdrBlockTextPrimitive2D( in createTextPrimitive() 300 OSL_ENSURE(pNew != 0, "createTextPrimitive: no text primitive created (!)"); in createTextPrimitive() 311 const Primitive2DReference xRefA(pNew); in createTextPrimitive() 320 return Primitive2DReference(pNew); in createTextPrimitive() 345 SdrTextPrimitive2D* pNew2 = pNew->createTransformedClone(aISRT); in createTextPrimitive() [all …]
|
| /AOO41X/main/svl/source/config/ |
| H A D | srchcfg.cxx | 127 SvxSearchEngineDataPtr pNew = new SvxSearchEngineData; in Load() local 128 pNew->sEngineName = pNodeNames[nNode]; in Load() 147 case 0 : pValues[nProp] >>= pNew->sAndPrefix; break; in Load() 148 case 1 : pValues[nProp] >>= pNew->sAndSuffix; break; in Load() 149 case 2 : pValues[nProp] >>= pNew->sAndSeparator; break; in Load() 150 case 3 : pValues[nProp] >>= pNew->nAndCaseMatch; break; in Load() 152 case 4 : pValues[nProp] >>= pNew->sOrPrefix; break; in Load() 153 case 5 : pValues[nProp] >>= pNew->sOrSuffix; break; in Load() 154 case 6 : pValues[nProp] >>= pNew->sOrSeparator; break; in Load() 155 case 7 : pValues[nProp] >>= pNew->nOrCaseMatch; break; in Load() [all …]
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | inftxt.hxx | 284 inline void SetFont( SwFont *pNew ) { pFnt = pNew; } in SetFont() argument 286 inline void SetUnderFnt( SwUnderlineFont* pNew ) { pUnderFnt = pNew; } in SetUnderFnt() argument 374 inline void SetKanaComp( SvUShorts *pNew ){ pKanaComp = pNew; } in SetKanaComp() argument 502 inline void SetpSpaceAdd( std::vector<long>* pNew ){ pSpaceAdd = pNew; } in SetpSpaceAdd() argument 506 inline void SetWrongList( const SwWrongList *pNew ){ pWrongList = pNew; } in SetWrongList() argument 509 inline void SetGrammarCheckList( const SwWrongList *pNew ){ pGrammarCheckList = pNew; } in SetGrammarCheckList() argument 513 inline void SetSmartTags( const SwWrongList *pNew ){ pSmartTags = pNew; } in SetSmartTags() argument 622 inline void SetRoot( SwLineLayout *pNew ) { pRoot = pNew; } in SetRoot() argument 666 inline void SetUnderFlow( SwLinePortion *pNew ) in SetUnderFlow() argument 667 { pUnderFlow = pNew; bUnderFlow = sal_True; } in SetUnderFlow() [all …]
|
| /AOO41X/main/vcl/source/glyphs/ |
| H A D | glyphcache.cxx | 248 ServerFont* pNew = NULL; in CacheFont() local 250 pNew = mpFtManager->CreateFont( aFontSelData ); in CacheFont() 253 if( pNew ) in CacheFont() 255 maFontList[ aFontSelData ] = pNew; in CacheFont() 256 mnBytesUsed += pNew->GetByteCount(); in CacheFont() 261 mpCurrentGCFont = pNew; in CacheFont() 262 pNew->mpNextGCFont = pNew; in CacheFont() 263 pNew->mpPrevGCFont = pNew; in CacheFont() 267 pNew->mpNextGCFont = mpCurrentGCFont; in CacheFont() 268 pNew->mpPrevGCFont = mpCurrentGCFont->mpPrevGCFont; in CacheFont() [all …]
|
| /AOO41X/main/sw/source/core/layout/ |
| H A D | sectfrm.cxx | 558 SwSectionFrm* pNew = new SwSectionFrm( *pSect->GetSection(), pSect ); in SplitSect() local 559 pNew->InsertBehind( pSect->GetUpper(), pSect ); in SplitSect() 560 pNew->Init(); in SplitSect() 562 (pNew->*fnRect->fnMakePos)( NULL, pSect, sal_True ); in SplitSect() 568 SwLayoutFrm* pLay = pNew; in SplitSect() 577 pNew->SetFollow( GetFollow() ); in SplitSect() 1715 SwSectionFrm* pNew; in GetNextSctLeaf() local 1723 pNew = pSect->GetFollow(); in GetNextSctLeaf() 1728 pNew = new SwSectionFrm( *pSect, sal_False ); in GetNextSctLeaf() 1729 pNew->InsertBefore( pLayLeaf, pLayLeaf->Lower() ); in GetNextSctLeaf() [all …]
|
| H A D | flylay.cxx | 565 void SwFlyLayFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) in Modify() argument 567 sal_uInt16 nWhich = pNew ? pNew->Which() : 0; in Modify() 571 ((SwAttrSetChg*)pNew)->GetChgSet()->GetItemState( RES_ANCHOR, sal_False, in Modify() 580 pAnch = (SwFmtAnchor*)pNew; in Modify() 637 SwFlyFrm::Modify( pOld, pNew ); in Modify() 649 void SwPageFrm::AppendFlyToPage( SwFlyFrm *pNew ) in AppendFlyToPage() argument 651 if ( !pNew->GetVirtDrawObj()->IsInserted() ) in AppendFlyToPage() 653 (SdrObject*)pNew->GetVirtDrawObj(), in AppendFlyToPage() 654 pNew->GetVirtDrawObj()->GetReferencedObj().GetOrdNumDirect() ); in AppendFlyToPage() 667 SdrObject* pObj = pNew->GetVirtDrawObj(); in AppendFlyToPage() [all …]
|
| /AOO41X/main/sw/source/core/bastyp/ |
| H A D | swcache.cxx | 446 sal_Bool SwCache::Insert( SwCacheObj *pNew ) in Insert() argument 449 ASSERT( !pNew->GetPrev() && !pNew->GetNext(), "New but not new." ); in Insert() 457 SwCacheObjArr::C40_INSERT( SwCacheObj, pNew, nPos ); in Insert() 465 *(pData + nPos) = pNew; in Insert() 496 *(pData + nPos) = pNew; in Insert() 498 pNew->SetCachePos( nPos ); in Insert() 505 { pFirst->GetPrev()->SetNext( pNew ); in Insert() 506 pNew->SetPrev( pFirst->GetPrev() ); in Insert() 508 pFirst->SetPrev( pNew ); in Insert() 509 pNew->SetNext( pFirst ); in Insert() [all …]
|
| /AOO41X/main/basctl/source/dlged/ |
| H A D | dlgedfac.cxx | 91 …DlgEdObj* pNew = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlComboB… in IMPL_LINK() local 92 pObjFactory->pNewObj = pNew; in IMPL_LINK() 95 … uno::Reference< beans::XPropertySet > xPSet(pNew->GetUnoControlModel(), uno::UNO_QUERY); in IMPL_LINK() 126 …DlgEdObj* pNew = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlScroll… in IMPL_LINK() local 127 pObjFactory->pNewObj = pNew; in IMPL_LINK() 131 … uno::Reference< beans::XPropertySet > xPSet(pNew->GetUnoControlModel(), uno::UNO_QUERY); in IMPL_LINK() 148 …DlgEdObj* pNew = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControlFixedL… in IMPL_LINK() local 149 pObjFactory->pNewObj = pNew; in IMPL_LINK() 153 … uno::Reference< beans::XPropertySet > xPSet(pNew->GetUnoControlModel(), uno::UNO_QUERY); in IMPL_LINK() 187 …DlgEdObj* pNew = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.tree.TreeControl… in IMPL_LINK() local [all …]
|
| /AOO41X/main/sc/source/ui/unoobj/ |
| H A D | textuno.cxx | 141 EditTextObject* pNew = rSource.CreateTextObject(); in UpdateText() local 146 pLeftText = pNew; in UpdateText() 150 pCenterText = pNew; in UpdateText() 154 pRightText = pNew; in UpdateText() 657 ScCellTextCursor* pNew = new ScCellTextCursor( *this ); in getStart() local 658 uno::Reference<text::XTextRange> xRange( static_cast<SvxUnoTextRangeBase*>(pNew) ); in getStart() 663 pNew->SetSelection( aNewSel ); in getStart() 674 ScCellTextCursor* pNew = new ScCellTextCursor( *this ); in getEnd() local 675 uno::Reference<text::XTextRange> xRange( static_cast<SvxUnoTextRangeBase*>(pNew) ); in getEnd() 680 pNew->SetSelection( aNewSel ); in getEnd() [all …]
|