Home
last modified time | relevance | path

Searched refs:pOld (Results 1 – 25 of 226) sorted by relevance

12345678910

/trunk/main/editeng/source/rtf/
H A Dsvxrtf.cxx942 SvxRTFItemStackType *pOld = aAttrStack.empty() ? 0 : aAttrStack.back(); in AttrGroupEnd() local
947 sal_uLong nOldSttNdIdx = pOld->pSttNd->GetIdx(); in AttrGroupEnd()
948 if( !pOld->pChildList && in AttrGroupEnd()
949 ((!pOld->aAttrSet.Count() && !pOld->nStyleNo ) || in AttrGroupEnd()
951 pOld->nSttCnt == pInsPos->GetCntIdx() ))) in AttrGroupEnd()
955 if( pAkt && pOld->aAttrSet.Count() ) in AttrGroupEnd()
957 SfxItemIter aIter( pOld->aAttrSet ); in AttrGroupEnd()
964 pOld->aAttrSet.ClearItem( pItem->Which() ); in AttrGroupEnd()
971 if( !pOld->aAttrSet.Count() && !pOld->pChildList && in AttrGroupEnd()
972 !pOld->nStyleNo ) in AttrGroupEnd()
[all …]
/trunk/main/cui/source/tabpages/
H A Dtparea.cxx364 const SfxPoolItem* pOld = GetOldItem(rAttrs, XATTR_FILLTRANSPARENCE); in FillItemSet() local
365 if(!pOld || !(*(const XFillTransparenceItem*)pOld == aItem) || !bLinearActive) in FillItemSet()
400 const SfxPoolItem* pOld = GetOldItem(rAttrs, XATTR_FILLFLOATTRANSPARENCE); in FillItemSet() local
402 if(!pOld || !(*(const XFillFloatTransparenceItem*)pOld == aItem) || !bGradActive) in FillItemSet()
1038 const SfxPoolItem* pOld = NULL; in FillItemSet() local
1053 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
1054 if ( !pOld || !( *(const XFillStyleItem*)pOld == aStyleItem ) ) in FillItemSet()
1070 pOld = GetOldItem( rAttrs, XATTR_FILLCOLOR ); in FillItemSet()
1071 if ( !pOld || !( *(const XFillColorItem*)pOld == aItem ) ) in FillItemSet()
1083 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
[all …]
H A Dtpline.cxx518 const SfxPoolItem* pOld = NULL; in FillItemSet() local
544 pOld = GetOldItem( rAttrs, XATTR_LINEDASH ); in FillItemSet()
545 if ( !pOld || !( *(const XLineDashItem*)pOld == aDashItem ) ) in FillItemSet()
552 pOld = GetOldItem( rAttrs, XATTR_LINESTYLE ); in FillItemSet()
553 if ( !pOld || !( *(const XLineStyleItem*)pOld == *pStyleItem ) ) in FillItemSet()
566 pOld = GetOldItem( rAttrs, XATTR_LINEWIDTH ); in FillItemSet()
567 if ( !pOld || !( *(const XLineWidthItem*)pOld == aItem ) ) in FillItemSet()
577 pOld = GetOldItem( rAttrs, XATTR_LINESTARTWIDTH ); in FillItemSet()
578 if ( !pOld || !( *(const XLineStartWidthItem*)pOld == aItem ) ) in FillItemSet()
588 pOld = GetOldItem( rAttrs, XATTR_LINEENDWIDTH ); in FillItemSet()
[all …]
H A Dtpshadow.cxx279 const SfxPoolItem* pOld = NULL; in FillItemSet() local
289 pOld = GetOldItem( rAttrs, SDRATTR_SHADOW ); in FillItemSet()
290 if ( !pOld || !( *(const SdrShadowItem*)pOld == aItem ) ) in FillItemSet()
335 pOld = GetOldItem( rAttrs, SDRATTR_SHADOWXDIST ); in FillItemSet()
337 ( !pOld || !( *(const SdrShadowXDistItem*)pOld == aXItem ) ) ) in FillItemSet()
343 pOld = GetOldItem( rAttrs, SDRATTR_SHADOWYDIST ); in FillItemSet()
345 ( !pOld || !( *(const SdrShadowYDistItem*)pOld == aYItem ) ) ) in FillItemSet()
359 pOld = GetOldItem( rAttrs, SDRATTR_SHADOWCOLOR ); in FillItemSet()
360 if ( !pOld || !( *(const SdrShadowColorItem*)pOld == aItem ) ) in FillItemSet()
372 pOld = GetOldItem( rAttrs, SDRATTR_SHADOWTRANSPARENCE ); in FillItemSet()
[all …]
H A Dparagrph.cxx231 const SfxPoolItem* pOld = 0; in FillItemSet() local
275 pOld = GetOldItem( rOutSet, SID_ATTR_PARA_LINESPACE ); in FillItemSet()
277 if ( !pOld || !( *(const SvxLineSpacingItem*)pOld == aSpacing ) || in FillItemSet()
289 pOld = GetOldItem( rOutSet, SID_ATTR_ULSPACE ); in FillItemSet()
319 if ( !pOld || !( *(const SvxULSpaceItem*)pOld == aMargin ) || in FillItemSet()
336 pOld = GetOldItem( rOutSet, SID_ATTR_LRSPACE ); in FillItemSet()
376 if ( !pOld || !( *(const SvxLRSpaceItem*)pOld == aMargin ) || in FillItemSet()
1175 const SvxAdjustItem* pOld = in FillItemSet() local
1191 if ( !pOld || pOld->GetAdjust() != eAdjust || in FillItemSet()
1192 pOld->GetOneWord() != eOneWord || in FillItemSet()
[all …]
H A Dchardlg.cxx1230 const SfxPoolItem* pOld = NULL; in FillItemSet_Impl() local
1244 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1246 if ( pOld ) in FillItemSet_Impl()
1248 const SvxFontItem& rItem = *( (const SvxFontItem*)pOld ); in FillItemSet_Impl()
1283 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1285 if ( pOld ) in FillItemSet_Impl()
1287 const SvxWeightItem& rItem = *( (const SvxWeightItem*)pOld ); in FillItemSet_Impl()
1332 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1334 if ( pOld ) in FillItemSet_Impl()
1336 const SvxPostureItem& rItem = *( (const SvxPostureItem*)pOld ); in FillItemSet_Impl()
[all …]
/trunk/main/editeng/source/misc/
H A Dtxtrange.cxx536 SvLongs *pOld = pLongArr; in Concat() local
547 sal_uInt16 nOldCount = pOld->Count(); in Concat()
551 pOld->Insert( pLongArr, nIdx, i, USHRT_MAX ); in Concat()
557 while( nLeftPos < nOldCount && nLeft > (*pOld)[ nLeftPos ] ) in Concat()
562 pOld->Insert( pLongArr, nOldCount, i - 2, USHRT_MAX ); in Concat()
566 while( nRightPos < nOldCount && nRight >= (*pOld)[ nRightPos ] ) in Concat()
571 pOld->Insert( pLongArr, nRightPos, i - 2, i ); in Concat()
577 if( nLeft > ( nOld = (*pOld)[ nLeftPos - 1 ] ) ) in Concat()
581 pOld->Insert( nOld, nLeftPos - 1 ); in Concat()
582 pOld->Insert( nLeft - 1, nLeftPos ); in Concat()
[all …]
/trunk/main/basic/source/comp/
H A Dsymtbl.cxx447 void SbiProcDef::Match( SbiProcDef* pOld ) in Match() argument
454 po = pOld->aParams.Get( i ); in Match()
461 po = pOld->aParams.Next(); in Match()
464 if( pn && i < aParams.GetSize() && pOld->pIn ) in Match()
467 pOld->pIn->GetParser()->SetCol1( 0 ); in Match()
468 pOld->pIn->GetParser()->Error( SbERR_BAD_DECLARATION, aName ); in Match()
470 if( !pIn && pOld->pIn ) in Match()
473 SbiSymDef** pData = (SbiSymDef**) pOld->pIn->aData.GetData(); in Match()
474 pData[ pOld->nPos ] = this; in Match()
475 nPos = pOld->nPos; in Match()
[all …]
H A Ddim.cxx306 SbiSymDef* pOld = pPool->Find( pDef->GetName() ); in DefVar() local
309 if( !pOld ) in DefVar()
311 pOld = CheckRTLForSym( pDef->GetName(), SbxVARIANT ); in DefVar()
312 if( pOld ) in DefVar()
315 if( pOld && !(eOp == _REDIM || eOp == _REDIMP) ) in DefVar()
317 if( pDef->GetScope() == SbLOCAL && pOld->GetScope() != SbLOCAL ) in DefVar()
318 pOld = NULL; in DefVar()
320 if( pOld ) in DefVar()
329 if( pOld->IsStatic() ) in DefVar()
333 else if( pOld->GetType() != ( eDefType = pDef->GetType() ) ) in DefVar()
[all …]
/trunk/main/sw/source/core/attr/
H A Dswatrset.cxx202 SwAttrSet* pOld, SwAttrSet* pNew ) in Put_BC() argument
205 pOldSet = pOld; in Put_BC()
213 SwAttrSet* pOld, SwAttrSet* pNew ) in Put_BC() argument
216 pOldSet = pOld; in Put_BC()
225 SwAttrSet* pOld, SwAttrSet* pNew ) in ClearItem_BC() argument
228 pOldSet = pOld; in ClearItem_BC()
236 SwAttrSet* pOld, SwAttrSet* pNew ) in ClearItem_BC() argument
240 pOldSet = pOld; in ClearItem_BC()
251 SwAttrSet* pOld, SwAttrSet* pNew ) in Intersect_BC() argument
254 pOldSet = pOld; in Intersect_BC()
[all …]
/trunk/main/unoxml/source/dom/
H A Dnode.cxx793 ::rtl::Reference<CNode> const pOld(CNode::GetImplementation(xOldChild)); in removeChild()
794 if (!pOld.is()) { throw RuntimeException(); } in removeChild()
795 xmlNodePtr const old = pOld->GetNodePtr(); in removeChild()
802 pOld->invalidate(); // freed by xmlRemoveProp in removeChild()
808 pOld->m_bUnlinked = true; in removeChild()
874 xmlNodePtr const pOld = pOldNode->GetNodePtr(); in replaceChild() local
876 if (!pOld || !pNew) { throw RuntimeException(); } in replaceChild()
895 if( pOld->type == XML_ATTRIBUTE_NODE ) in replaceChild()
898 if ( pOld->type != pNew->type ) in replaceChild()
905 xmlAttrPtr pAttr = (xmlAttrPtr)pOld; in replaceChild()
[all …]
/trunk/main/tools/inc/tools/
H A Dref.hxx135 inline void Insert( EN p, EN pOld )\
136 { CN##List::Insert( p, pOld ); p->AddRef();}\
144 inline EN Replace( EN pNew, EN pOld );\
214 inline EN CN##MemberList::Replace( EN pNew, EN pOld ) \
216 pNew->AddRef(); CN##List::Replace( pNew, pOld ); \
217 if( pOld ) pOld->ReleaseReference(); return pOld; \
236 inline void Insert( EntryName p, EntryName pOld ); \
243 inline EntryName Replace( EntryName pNew, EntryName pOld );\
265 inline void ClassName##MemberList::Insert( EntryName p, EntryName pOld )\
266 {BaseList::Insert(p,pOld);}\
[all …]
/trunk/main/svx/source/sdr/animation/
H A Dscheduler.cxx118 void EventList::Remove(Event* pOld) in Remove() argument
120 if(pOld && mpHead) in Remove()
125 while(pCurrent && pCurrent != pOld) in Remove()
133 pPrev->SetNext(pOld->GetNext()); in Remove()
137 mpHead = pOld->GetNext(); in Remove()
140 pOld->SetNext(0L); in Remove()
290 void Scheduler::RemoveEvent(Event* pOld) in RemoveEvent() argument
292 if(pOld && maList.GetFirst()) in RemoveEvent()
294 maList.Remove(pOld); in RemoveEvent()
/trunk/main/sw/source/core/txtnode/
H A Dtxtatr2.cxx66 void SwTxtCharFmt::ModifyNotification( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) in ModifyNotification() argument
68 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in ModifyNotification()
188 void SwTxtINetFmt::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) in Modify() argument
190 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify()
241 void SwTxtRuby::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) in Modify() argument
243 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify()
/trunk/main/sw/source/core/docnode/
H A Dsection.cxx434 void SwSection::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) in Modify() argument
438 switch( pOld ? pOld->Which() : pNew ? pNew->Which() : 0 ) in Modify()
443 SfxItemSet* pOldSet = ((SwAttrSetChg*)pOld)->GetChgSet(); in Modify()
527 if( pNew && pOld ) in Modify()
534 if( pNew && pOld ) in Modify()
541 CheckRegistration( pOld, pNew ); in Modify()
783 void SwSectionFmt::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) in Modify() argument
786 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify()
793 SfxItemSet* pOldSet = ((SwAttrSetChg*)pOld)->GetChgSet(); in Modify()
827 if( !((SwAttrSetChg*)pOld)->GetChgSet()->Count() ) in Modify()
[all …]
/trunk/main/svl/source/items/
H A Ditemset.cxx609 const SfxPoolItem* pOld = *ppFnd; in Put() local
612 Changed( *pOld, rNew ); in Put()
613 _pPool->Remove( *pOld ); in Put()
801 const sal_uInt16* pOld = _pWhichRanges; in SetRanges() local
803 while ( *pOld == *pNew ) in SetRanges()
805 if ( !*pOld && !*pNew ) in SetRanges()
807 ++pOld, ++pNew; in SetRanges()
1769 const SfxPoolItem* pOld = *ppFnd; in PutDirect() local
1770 if( pOld ) // schon einer vorhanden in PutDirect()
1774 _pPool->Remove( *pOld ); in PutDirect()
[all …]
/trunk/main/sw/source/core/access/
H A Daccframebase.cxx239 void SwAccessibleFrameBase::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) in Modify() argument
241 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0 ; in Modify()
252 ASSERT( !pOld || in Modify()
253 … static_cast < const SwStringMsgPoolItem * >( pOld )->GetString() == String( sOldName ), in Modify()
274 …if( pOld && ( GetRegisteredIn() == static_cast< SwModify *>( static_cast< const SwPtrMsgPoolItem *… in Modify()
279 if( pOld && in Modify()
281 static_cast< const SwFmtChg * >(pOld)->pChangedFmt->IsFmtInDTOR() ) in Modify()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/drawing/
H A D_XShape.java56 Point pOld = new Point(); field in _XShape
96 pOld = (Point) oObj.getPosition(); in _getPosition()
174 pNew = new Point(pOld.X + 100, pOld.Y + 100) ; in _setPosition()
179 log.println("Previously: "+pOld.X+";"+pOld.Y); in _setPosition()
183 result = !util.ValueComparer.equalValue(pOld, gPos) ; in _setPosition()
/trunk/main/sw/source/core/undo/
H A DSwUndoFmt.cxx140 SwFmt * pOld = Find(sOldName); in RedoImpl() local
142 if (pOld) in RedoImpl()
144 Delete(pOld); in RedoImpl()
234 void SwUndoTxtFmtCollDelete::Delete(SwFmt * pOld) in Delete() argument
236 pDoc->DelTxtFmtColl((SwTxtFmtColl *) pOld, sal_True); in Delete()
278 SwUndoCharFmtDelete::SwUndoCharFmtDelete(SwCharFmt * pOld, SwDoc * pDocument) in SwUndoCharFmtDelete() argument
279 : SwUndoFmtDelete(UNDO_CHARFMT_DELETE, pOld, pDocument) in SwUndoCharFmtDelete()
333 SwUndoFrmFmtDelete::SwUndoFrmFmtDelete(SwFrmFmt * pOld, SwDoc * pDocument) in SwUndoFrmFmtDelete() argument
334 : SwUndoFmtDelete(UNDO_FRMFMT_DELETE, pOld, pDocument) in SwUndoFrmFmtDelete()
H A Dunattr.cxx71 void SwUndoFmtAttrHelper::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) in Modify() argument
73 if( pOld ) in Modify()
75 if ( pOld->Which() == RES_OBJECTDYING ) in Modify()
77 CheckRegistration( pOld, pNew ); in Modify()
81 if( POOLATTR_END >= pOld->Which() ) in Modify()
85 m_pUndo->PutAttr( *pOld ); in Modify()
89 m_pUndo.reset( new SwUndoFmtAttr( *pOld, in Modify()
93 else if ( RES_ATTRSET_CHG == pOld->Which() ) in Modify()
98 *(static_cast<const SwAttrSetChg*>(pOld))->GetChgSet() ); in Modify()
111 *static_cast<const SwAttrSetChg*>(pOld)->GetChgSet(), in Modify()
[all …]
/trunk/main/cui/source/options/
H A Doptasian.cxx125 SvxForbiddenChars_Impl* pOld = aChangedLanguagesTbl.Get(eLang); in addForbiddenCharacters() local
126 if( !pOld ) in addForbiddenCharacters()
128 pOld = new SvxForbiddenChars_Impl; in addForbiddenCharacters()
129 pOld->bRemoved = 0 == pForbidden; in addForbiddenCharacters()
130 pOld->pCharacters = pForbidden ? new ForbiddenCharacters(*pForbidden) : 0; in addForbiddenCharacters()
131 aChangedLanguagesTbl.Insert( eLang, pOld ); in addForbiddenCharacters()
135 pOld->bRemoved = 0 == pForbidden; in addForbiddenCharacters()
136 delete pOld->pCharacters; in addForbiddenCharacters()
137 pOld->pCharacters = pForbidden ? new ForbiddenCharacters(*pForbidden) : 0; in addForbiddenCharacters()
/trunk/main/cppu/inc/com/sun/star/uno/
H A DReference.hxx214 XInterface * const pOld = _pInterface; in clear() local
216 pOld->release(); in clear()
226 XInterface * const pOld = _pInterface; in set() local
228 if (pOld) in set()
229 pOld->release(); in set()
237 XInterface * const pOld = _pInterface; in set() local
239 if (pOld) in set()
240 pOld->release(); in set()
/trunk/main/sw/source/core/frmedt/
H A Dfeshview.cxx288 SwFrm* pOld; in MoveAnchor() local
294 pOld = pFly->AnchorFrm(); in MoveAnchor()
297 pOld = ((SwDrawContact*)GetUserCall(pObj))->GetAnchorFrm( pObj ); in MoveAnchor()
299 if( pOld ) in MoveAnchor()
301 SwFrm* pNew = pOld; in MoveAnchor()
309 if( pOld->IsVertical() ) in MoveAnchor()
311 if( pOld->IsTxtFrm() ) in MoveAnchor()
319 if( pOld->IsRightToLeft() ) in MoveAnchor()
331 ASSERT( pOld->IsPageFrm(), "Wrong anchor, page expected." ); in MoveAnchor()
333 pNew = pOld->GetPrev(); in MoveAnchor()
[all …]
/trunk/main/tools/source/memtools/
H A Dcontnr.cxx372 void* pOld = pNodes[nIndex]; in Remove() local
413 return pOld; in Remove()
431 void* pOld = pNodes[nIndex]; in Replace() local
433 return pOld; in Replace()
888 void Container::Insert( void* pNew, void* pOld ) in Insert() argument
890 sal_uIntPtr nIndex = GetPos( pOld ); in Insert()
909 void* pOld; in ImpRemove() local
915 pOld = pBlock->GetObject( nIndex ); in ImpRemove()
950 pOld = pBlock->GetObject( nIndex ); in ImpRemove()
956 pOld = pBlock->Remove( nIndex, nReSize ); in ImpRemove()
[all …]
H A Dmultisel.cxx148 sal_Unicode* pOld = pStr; in MultiSelection() local
156 while ( *pOld ) in MultiSelection()
158 switch( *pOld ) in MultiSelection()
170 DBG_ASSERT( *pOld != cRange, "digit for range char not allowed" ); in MultiSelection()
171 DBG_ASSERT( *pOld != cSep, "digit for separator not allowed" ); in MultiSelection()
178 *pStr++ = *pOld; in MultiSelection()
186 if ( *pOld != cSep ) in MultiSelection()
201 DBG_ASSERT( *pOld != cRange, "SPACE for range char not allowed" ); in MultiSelection()
202 DBG_ASSERT( *pOld != cSep, "SPACE for separator not allowed" ); in MultiSelection()
207 if ( *pOld == cRange ) in MultiSelection()
[all …]

12345678910