diff options
Diffstat (limited to 'svx/source/items/ofaitem.cxx')
-rw-r--r-- | svx/source/items/ofaitem.cxx | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/svx/source/items/ofaitem.cxx b/svx/source/items/ofaitem.cxx index 3bb56b096684..96ceb5831c7f 100644 --- a/svx/source/items/ofaitem.cxx +++ b/svx/source/items/ofaitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ofaitem.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2004-02-03 19:25:52 $ + * last change: $Author: obo $ $Date: 2004-07-06 13:17:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,3 +80,43 @@ SfxPoolItem* OfaPtrItem::Clone( SfxItemPool *pPool ) const { return new OfaPtrItem( *this ); } + +//--------------------------------------------------------------------------- +/* +TYPEINIT1_AUTOFACTORY(DashListPtrItem, SvxDashListPtrItem); + +DashListPtrItem::DashListPtrItem( USHORT nWhich, SvxDashListItem* pPtr ) + : OfaPtrItem( nWhich ), pPtr( pPtr ) +{ +} + +DashListPtrItem::DashListPtrItem( const DashListPtrItem& ) + : OfaPtrItem( rItem.Which() ), pPtr( rItem.pPtr ) +{ +} + +int DashListPtrItem::operator==( const SfxPoolItem& rItem ) const +{ + return ((DashListPtrItem&)rItem).GetValue() == GetValue(); +} + +SfxPoolItem* DashListPtrItem::Clone( SfxItemPool *pPool ) const +{ + return new DashListPtrItem( *this ); +} + +sal_Bool DashListPtrItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const +{ +} + +sal_Bool DashListPtrItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) +{ + sal_Int64 nHyper; + if ( rVal >>= nHyper ) + { + SetValue( (SvxDash + } + + return sal_False; +} +*/
\ No newline at end of file |