summaryrefslogtreecommitdiff
path: root/svx/source/items/ofaitem.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-06 12:17:04 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-06 12:17:04 +0000
commit4bbc1941fbe70879a349651c524f2f72e85b47a4 (patch)
tree8dc3a986e4f67eb6f25c148e4107a582709ac573 /svx/source/items/ofaitem.cxx
parent9667c401dc6aeb942c22054ad8ae345d57821649 (diff)
INTEGRATION: CWS docking1 (1.2.98); FILE MERGED
2004/04/28 16:21:21 cd 1.2.98.1: #i26252# Fixes for toolbox controllers/items that used non-convertible items
Diffstat (limited to 'svx/source/items/ofaitem.cxx')
-rw-r--r--svx/source/items/ofaitem.cxx44
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