Home
last modified time | relevance | path

Searched refs:pNewItem (Results 1 – 25 of 58) sorted by relevance

123

/trunk/main/sd/source/ui/func/
H A Dfutempl.cxx487 rAttr.Put( *pNewItem ); in DoExecute()
488 delete pNewItem; in DoExecute()
497 rAttr.Put( *pNewItem ); in DoExecute()
498 delete pNewItem; in DoExecute()
507 rAttr.Put( *pNewItem ); in DoExecute()
508 delete pNewItem; in DoExecute()
517 rAttr.Put( *pNewItem ); in DoExecute()
518 delete pNewItem; in DoExecute()
528 delete pNewItem; in DoExecute()
538 delete pNewItem; in DoExecute()
[all …]
/trunk/main/sw/source/core/undo/
H A DSwUndoPageDesc.cxx221 delete pNewItem; in ExchangeContentNodes()
226 pNewItem = pItem->Clone(); in ExchangeContentNodes()
229 delete pNewItem; in ExchangeContentNodes()
236 pNewItem = pItem->Clone(); in ExchangeContentNodes()
245 delete pNewItem; in ExchangeContentNodes()
250 delete pNewItem; in ExchangeContentNodes()
263 delete pNewItem; in ExchangeContentNodes()
272 pNewItem = pItem->Clone(); in ExchangeContentNodes()
275 delete pNewItem; in ExchangeContentNodes()
291 delete pNewItem; in ExchangeContentNodes()
[all …]
/trunk/main/vcl/aqua/source/window/
H A Dsalmenu.cxx128 if( pNewItem ) in initAppMenu()
143 if( pNewItem ) in initAppMenu()
155 if( pNewItem ) in initAppMenu()
158 [pNewItem setTitle: pString]; in initAppMenu()
165 if( pNewItem ) in initAppMenu()
175 if( pNewItem ) in initAppMenu()
185 if( pNewItem ) in initAppMenu()
195 if( pNewItem ) in initAppMenu()
488 if( rFallbackMenu[i] == pNewItem ) in addFallbackMenuItem()
493 [pNewItem retain]; in addFallbackMenuItem()
[all …]
/trunk/main/svx/workben/
H A Dedittest.cxx719 SfxPoolItem* pNewItem = 0; in IMPL_LINK() local
876 pNewItem = new SvxKerningItem( 0, EE_CHAR_KERNING ); in IMPL_LINK()
878 pNewItem = new SvxKerningItem( 100, EE_CHAR_KERNING); in IMPL_LINK()
901 ((SvxLineSpacingItem*)pNewItem)->SetInterLineSpace( 0 ); in IMPL_LINK()
911 ((SvxULSpaceItem*)pNewItem)->SetUpper( 400 ); in IMPL_LINK()
912 ((SvxULSpaceItem*)pNewItem)->SetLower( 400 ); in IMPL_LINK()
918 ((SvxLRSpaceItem*)pNewItem)->SetTxtLeft( 1000 ); in IMPL_LINK()
920 ((SvxLRSpaceItem*)pNewItem)->SetRight( 500 ); in IMPL_LINK()
1250 if ( pNewItem ) in IMPL_LINK()
1253 aSet.Put( *pNewItem ); in IMPL_LINK()
[all …]
/trunk/main/sd/source/ui/view/
H A Ddrtxtob1.cxx167 long nUpper = pNewItem->GetUpper(); in Execute()
177 long nLower = pNewItem->GetLower(); in Execute()
188 aNewAttrs.Put( *pNewItem ); in Execute()
189 delete pNewItem; in Execute()
206 SvxULSpaceItem* pNewItem = (SvxULSpaceItem*) rItem.Clone(); in Execute() local
207 long nUpper = pNewItem->GetUpper(); in Execute()
216 pNewItem->SetUpper( (sal_uInt16) nUpper ); in Execute()
218 long nLower = pNewItem->GetLower(); in Execute()
226 pNewItem->SetLower( (sal_uInt16) nLower ); in Execute()
228 aNewAttrs.Put( *pNewItem ); in Execute()
[all …]
/trunk/main/svx/source/unodraw/
H A DUnoNameItemTable.cxx104 NameOrIndex* pNewItem = createItem(); in ImplInsertByName() local
105 pNewItem->SetName( String( aName ) ); in ImplInsertByName()
106 pNewItem->PutValue( aElement, mnMemberId ); in ImplInsertByName()
107 mpInSet->Put( *pNewItem, mnWhich ); in ImplInsertByName()
108 delete pNewItem; in ImplInsertByName()
186 NameOrIndex* pNewItem = createItem(); in replaceByName() local
187 pNewItem->SetName( aSearchName ); in replaceByName()
188 if( !pNewItem->PutValue( aElement, mnMemberId ) || !isValid( pNewItem ) ) in replaceByName()
191 (*aIter)->Put( *pNewItem ); in replaceByName()
H A Dunodtabl.cxx83 XLineDashItem* pNewItem = new XLineDashItem(); in createItem() local
84 pNewItem->SetWhich( XATTR_LINEDASH ); // set which id for pooling in createItem()
85 return pNewItem; in createItem()
H A Dunottabl.cxx82 XFillFloatTransparenceItem* pNewItem = new XFillFloatTransparenceItem(); in createItem() local
83 pNewItem->SetEnabled( sal_True ); in createItem()
84 return pNewItem; in createItem()
/trunk/main/svx/source/svdraw/
H A Dsvdibrow.cxx1187 SfxPoolItem* pNewItem=aSet.Get(pEntry->nWhichId).Clone(); in IMPL_LINK() local
1217 if(HAS_BASE(SdrAngleItem, pNewItem)) in IMPL_LINK()
1223 ((SfxInt32Item *)pNewItem)->SetValue((sal_Int32)nLongVal); in IMPL_LINK()
1235 ((SfxBoolItem*)pNewItem)->SetValue((sal_Bool)nLongVal); in IMPL_LINK()
1242 ((SfxRangeItem*)pNewItem)->From()=(sal_uInt16)nLongX; in IMPL_LINK()
1243 ((SfxRangeItem*)pNewItem)->From()=(sal_uInt16)nLongY; in IMPL_LINK()
1250 ((SdrFractionItem*)pNewItem)->SetValue(Fraction(nLongX,nLongY)); in IMPL_LINK()
1267 ((SvxFontHeightItem*)pNewItem)->SetHeight(nHgt,nProp); in IMPL_LINK()
1274 ((SvxCharScaleWidthItem*)pNewItem)->SetValue(nProp); in IMPL_LINK()
1279 aNewSet.Put(*pNewItem); in IMPL_LINK()
[all …]
/trunk/main/svl/source/items/
H A Dpoolcach.cxx108 SfxSetItem *pNewItem = (SfxSetItem *)rOrigItem.Clone(); in ApplyTo() local
111 pNewItem->GetItemSet().PutDirect( *pItemToPut ); in ApplyTo()
112 DBG_ASSERT( &pNewItem->GetItemSet().Get( pItemToPut->Which() ) == pItemToPut, in ApplyTo()
116 pNewItem->GetItemSet().Put( *pSetToPut ); in ApplyTo()
117 const SfxSetItem* pNewPoolItem = (const SfxSetItem*) &pPool->Put( *pNewItem ); in ApplyTo()
118 DBG_ASSERT( pNewPoolItem != pNewItem, "Pool: rein == raus?" ); in ApplyTo()
119 delete pNewItem; in ApplyTo()
H A Ditemprop.cxx290 SfxPoolItem *pNewItem = 0; in setPropertyValue() local
301 pNewItem = rItem.Clone(); in setPropertyValue()
304 if(!pNewItem && pItem) in setPropertyValue()
306 pNewItem = pItem->Clone(); in setPropertyValue()
308 if(pNewItem) in setPropertyValue()
310 if( !pNewItem->PutValue( aVal, rEntry.nMemberId ) ) in setPropertyValue()
312 DELETEZ(pNewItem); in setPropertyValue()
316 rSet.Put( *pNewItem, rEntry.nWID ); in setPropertyValue()
317 delete pNewItem; in setPropertyValue()
H A Ditempool.cxx840 SfxPoolItem* pNewItem = rItem.Clone(pMaster); in Put() local
841 pNewItem->SetWhich(nWhich); in Put()
843 SFX_ASSERT( rItem.Type() == pNewItem->Type(), nWhich, "unequal types in Put(): no Clone()?" ) in Put()
848 rItem == *pNewItem, in Put()
850 SFX_ASSERT( !IsItemFlag(*pNewItem, SFX_ITEM_POOLABLE) || in Put()
851 *pNewItem == rItem, in Put()
856 AddRef( *pNewItem, pImp->nInitRefCount ); in Put()
857 SfxPoolItem* pTemp = pNewItem; in Put()
863 *ppFree = pNewItem; in Put()
865 return *pNewItem; in Put()
/trunk/main/svx/source/xoutdev/
H A Dxexch.cxx147 SfxPoolItem* pNewItem; in operator >>() local
164 pNewItem = rData.pPool->GetDefaultItem( nWhich ).Create( rIStm, nItemVersion ); in operator >>()
166 if( pNewItem ) in operator >>()
168 pSet->Put( *pNewItem ); in operator >>()
169 delete pNewItem; in operator >>()
/trunk/main/sfx2/source/control/
H A Dbindings.cxx1302 pNewItem->SetValue( !bOldValue ); in Execute_Impl()
1303 aReq.AppendItem( *pNewItem ); in Execute_Impl()
1304 delete pNewItem; in Execute_Impl()
1310 SfxEnumItemInterface *pNewItem = in Execute_Impl() local
1313 aReq.AppendItem( *pNewItem ); in Execute_Impl()
1314 delete pNewItem; in Execute_Impl()
1325 pNewItem->SetWhich( nWhich ); in Execute_Impl()
1327 if ( pNewItem->ISA(SfxBoolItem) ) in Execute_Impl()
1331 aReq.AppendItem( *pNewItem ); in Execute_Impl()
1338 aReq.AppendItem( *pNewItem ); in Execute_Impl()
[all …]
/trunk/main/svx/source/sdr/properties/
H A Dcustomshapeproperties.cxx95 …CustomShapeProperties::AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem ) const in AllowItemChange()
98 if ( !pNewItem ) in AllowItemChange()
104 bAllowItemChange = TextProperties::AllowItemChange( nWhich, pNewItem ); in AllowItemChange()
171 void CustomShapeProperties::ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem) in ItemChange() argument
174 TextProperties::ItemChange( nWhich, pNewItem ); in ItemChange()
H A Dtextproperties.cxx156 void TextProperties::ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem) in ItemChange() argument
168 if(pNewItem && (SDRATTR_TEXTDIRECTION == nWhich)) in ItemChange()
170 …sal_Bool bVertical(com::sun::star::text::WritingMode_TB_RL == ((SvxWritingModeItem*)pNewItem)->Get… in ItemChange()
175 if(!pNewItem && !nWhich && rObj.HasText() ) in ItemChange()
204 AttributeProperties::ItemChange( nWhich, pNewItem ); in ItemChange()
H A Ditemsettools.cxx126 SfxPoolItem* pNewItem = pItem->Clone(); in ScaleItemSet() local
127 pNewItem->ScaleMetrics(nMul, nDiv); in ScaleItemSet()
128 rSet.Put(*pNewItem); in ScaleItemSet()
H A Dattributeproperties.cxx170 void AttributeProperties::ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem) in ItemChange() argument
172 if(pNewItem) in ItemChange()
174 const SfxPoolItem* pItem = pNewItem; in ItemChange()
225 if(pItem != pNewItem) in ItemChange()
/trunk/main/editeng/source/uno/
H A Dunoipset.cxx175 SfxPoolItem *pNewItem = 0; in setPropertyValue() local
205 pNewItem = pItem->Clone(); in setPropertyValue()
211 if( pNewItem->PutValue( aValue, nMemberId ) ) in setPropertyValue()
214 rSet.Put( *pNewItem, pMap->nWID ); in setPropertyValue()
216 delete pNewItem; in setPropertyValue()
/trunk/main/cui/source/tabpages/
H A Dparagrph.cxx2304 SfxBoolItem* pNewItem = (SfxBoolItem*)rSet.Get( in FillItemSet() local
2306 pNewItem->SetValue(aScriptSpaceCB.IsChecked()); in FillItemSet()
2307 rSet.Put(*pNewItem); in FillItemSet()
2308 delete pNewItem; in FillItemSet()
2313 SfxBoolItem* pNewItem = (SfxBoolItem*)rSet.Get( in FillItemSet() local
2315 pNewItem->SetValue(aHangingPunctCB.IsChecked()); in FillItemSet()
2316 rSet.Put(*pNewItem); in FillItemSet()
2317 delete pNewItem; in FillItemSet()
2322 SfxBoolItem* pNewItem = (SfxBoolItem*)rSet.Get( in FillItemSet() local
2325 rSet.Put(*pNewItem); in FillItemSet()
[all …]
/trunk/main/sw/source/core/unocore/
H A DSwXTextDefaults.cxx135 SfxPoolItem * pNewItem = rItem.Clone(); in setPropertyValue() local
136 pNewItem->PutValue( aValue, pMap->nMemberId); in setPropertyValue()
137 m_pDoc->SetDefault(*pNewItem); in setPropertyValue()
138 delete pNewItem; in setPropertyValue()
/trunk/main/sfx2/source/appl/
H A Dshutdowniconaqua.mm250 … NSMenuItem* pNewItem = [[NSMenuItem alloc] initWithTitle: getAutoreleasedString( aMenuTitle )
253 [pNewItem setTag: i];
254 [pNewItem setTarget: self];
255 [pNewItem setEnabled: YES];
256 [menu addItem: pNewItem];
257 [pNewItem autorelease];
/trunk/main/sc/source/ui/unoobj/
H A Ddefltuno.cxx215 SfxPoolItem* pNewItem = pPool->GetDefaultItem(pEntry->nWID).Clone(); in setPropertyValue() local
217 if( !pNewItem->PutValue( aValue, pEntry->nMemberId ) ) in setPropertyValue()
220 pPool->SetPoolDefaultItem( *pNewItem ); in setPropertyValue()
221 delete pNewItem; // copied in SetPoolDefaultItem in setPropertyValue()
/trunk/main/svtools/source/control/
H A Dvalueset.cxx1996 ValueSetItem* pNewItem = new ValueSetItem( *this ); in CopyItems() local
1998 pNewItem->mnId = pItem->mnId; in CopyItems()
1999 pNewItem->mnBits = pItem->mnBits; in CopyItems()
2000 pNewItem->meType = pItem->meType; in CopyItems()
2001 pNewItem->maImage = pItem->maImage; in CopyItems()
2002 pNewItem->maColor = pItem->maColor; in CopyItems()
2003 pNewItem->maText = pItem->maText; in CopyItems()
2004 pNewItem->mpData = pItem->mpData; in CopyItems()
2005 pNewItem->maRect = pItem->maRect; in CopyItems()
2006 pNewItem->mpxAcc = NULL; in CopyItems()
[all …]
/trunk/main/sw/source/filter/xml/
H A Dxmlimpit.cxx125 SfxPoolItem *pNewItem = pItem->Clone(); in importXML() local
133 bPut = PutXMLValue( *pNewItem, rValue, in importXML()
140 bPut = handleSpecialItem( *pEntry, *pNewItem, rSet, in importXML()
146 rSet.Put( *pNewItem ); in importXML()
148 delete pNewItem; in importXML()

Completed in 222 milliseconds

123