summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-15 01:12:40 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-15 13:27:11 +0100
commit26c0b002dba7a43524854ce2f5939a8267435671 (patch)
treefa2f5f91991ab984f28755e1b199d660fa31ba4f /svx
parent3602bbdccddc7916075d0d6105037d95c2ec67d0 (diff)
Remove some dead code
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/customshapeitem.cxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/svx/source/items/customshapeitem.cxx b/svx/source/items/customshapeitem.cxx
index f74a37cc98..277de0f666 100644
--- a/svx/source/items/customshapeitem.cxx
+++ b/svx/source/items/customshapeitem.cxx
@@ -71,9 +71,6 @@ SdrCustomShapeGeometryItem::SdrCustomShapeGeometryItem( const uno::Sequence< bea
sal_Int32 i, j;
aPropSeq = rVal;
- // hashing property values
-// beans::PropertyValue* pPropValues = aPropSeq.getArray();
-// const rtl::OUString* pPtr = NULL;
for ( i = 0; i < aPropSeq.getLength(); i++ )
{
beans::PropertyValue& rPropVal = aPropSeq[ i ];
@@ -309,7 +306,6 @@ SfxItemPresentation SdrCustomShapeGeometryItem::GetPresentation(
if ( ePresentation == SFX_ITEM_PRESENTATION_COMPLETE )
{
XubString aStr;
-// SdrItemPool::TakeItemName( Which(), aStr );
aStr += sal_Unicode( ' ' );
rText.Insert( aStr, 0 );
}
@@ -332,17 +328,7 @@ SvStream& SdrCustomShapeGeometryItem::Store( SvStream& rOut, sal_uInt16 nItemVer
SfxPoolItem* SdrCustomShapeGeometryItem::Clone( SfxItemPool * /*pPool*/ ) const
{
- SdrCustomShapeGeometryItem* pItem = new SdrCustomShapeGeometryItem( GetGeometry() );
-// SdrCustomShapeGeometryItem* pItem = new SdrCustomShapeGeometryItem( *this );
-
-/*
- for ( i = 0; i < GetCount(); i++ )
- {
- const SdrCustomShapeAdjustmentValue& rVal = GetValue( i );
- pItem->SetValue( i, rVal );
- }
-*/
- return pItem;
+ return new SdrCustomShapeGeometryItem( GetGeometry() );
}
sal_uInt16 SdrCustomShapeGeometryItem::GetVersion( sal_uInt16 /*nFileFormatVersion*/ ) const
@@ -365,12 +351,7 @@ const uno::Sequence< beans::PropertyValue >& SdrCustomShapeGeometryItem::GetGeom
{
return aPropSeq;
}
-/*
-const uno::Any* GetValueByName( const rtl::OUString& rProperty ) const
-{
-}
-*/
SdrCustomShapeReplacementURLItem::SdrCustomShapeReplacementURLItem()
: SfxStringItem( SDRATTR_CUSTOMSHAPE_REPLACEMENT_URL, String() )
{}