Lines Matching refs:pNewItem
1301 SfxBoolItem *pNewItem = (SfxBoolItem*) (pOldItem->Clone()); in Execute_Impl() local
1302 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
1312 pNewItem->SetBoolValue(!((SfxEnumItemInterface *)pOldItem)->GetBoolValue()); in Execute_Impl()
1313 aReq.AppendItem( *pNewItem ); in Execute_Impl()
1314 delete pNewItem; in Execute_Impl()
1323 SfxPoolItem *pNewItem = pSlot->GetType()->CreateItem(); in Execute_Impl() local
1324 DBG_ASSERT( pNewItem, "Toggle an Slot ohne ItemFactory" ); in Execute_Impl()
1325 pNewItem->SetWhich( nWhich ); in Execute_Impl()
1327 if ( pNewItem->ISA(SfxBoolItem) ) in Execute_Impl()
1330 ((SfxBoolItem*)pNewItem)->SetValue( sal_True ); in Execute_Impl()
1331 aReq.AppendItem( *pNewItem ); in Execute_Impl()
1333 else if ( pNewItem->ISA(SfxEnumItemInterface) && in Execute_Impl()
1334 ((SfxEnumItemInterface *)pNewItem)->HasBoolValue()) in Execute_Impl()
1337 ((SfxEnumItemInterface*)pNewItem)->SetBoolValue(sal_True); in Execute_Impl()
1338 aReq.AppendItem( *pNewItem ); in Execute_Impl()
1343 delete pNewItem; in Execute_Impl()