summaryrefslogtreecommitdiff
path: root/svx/source/items
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-28 01:12:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-28 01:19:57 +0900
commitd50f02bec4a70bd26a518e4e76f4a876454ab937 (patch)
treeacd806362a7d6e4d014fa82e05cd1575a39c16b4 /svx/source/items
parent2d9b6917808b76af76a85755b9f24ff4b49ee38b (diff)
removed dead code
Change-Id: If67f8e981e034890e4fde2280f537fdfff6af0ff
Diffstat (limited to 'svx/source/items')
-rw-r--r--svx/source/items/grfitem.cxx18
-rw-r--r--svx/source/items/viewlayoutitem.cxx11
-rw-r--r--svx/source/items/zoomslideritem.cxx11
3 files changed, 0 insertions, 40 deletions
diff --git a/svx/source/items/grfitem.cxx b/svx/source/items/grfitem.cxx
index a27a2b9229c7..d44e653a3296 100644
--- a/svx/source/items/grfitem.cxx
+++ b/svx/source/items/grfitem.cxx
@@ -67,24 +67,6 @@ int SvxGrfCrop::operator==( const SfxPoolItem& rAttr ) const
nBottom == ((const SvxGrfCrop&)rAttr).GetBottom();
}
-/*
-SfxPoolItem* SvxGrfCrop::Clone( SfxItemPool* ) const
-{
- return new SvxGrfCrop( *this );
-}
-*/
-
-/*
-sal_uInt16 SvxGrfCrop::GetVersion( sal_uInt16 nFFVer ) const
-{
- DBG_ASSERT( SOFFICE_FILEFORMAT_31==nFFVer ||
- SOFFICE_FILEFORMAT_40==nFFVer ||
- SOFFICE_FILEFORMAT_NOW==nFFVer,
- "SvxGrfCrop: exist a new fileformat?" );
- return GRFCROP_VERSION_SWDEFAULT;
-}
-*/
-
SfxPoolItem* SvxGrfCrop::Create( SvStream& rStrm, sal_uInt16 nVersion ) const
{
sal_Int32 top, left, right, bottom;
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx
index ef26ecb8aed1..ce80dafc80d5 100644
--- a/svx/source/items/viewlayoutitem.cxx
+++ b/svx/source/items/viewlayoutitem.cxx
@@ -78,13 +78,6 @@ SfxPoolItem* SvxViewLayoutItem::Clone( SfxItemPool * /*pPool*/ ) const
SfxPoolItem* SvxViewLayoutItem::Create( SvStream& /*rStrm*/, sal_uInt16 /*nVersion*/ ) const
{
-/* sal_uInt16 nValue;
- sal_uInt16 nValSet;
- sal_Int8 nType;
- rStrm >> nValue >> nValSet >> nType;
- SvxZoomItem* pNew = new SvxZoomItem( (SvxZoomType)nType, nValue, Which() );
- pNew->SetValueSet( nValSet );
- return pNew;*/
return 0;
}
@@ -92,9 +85,6 @@ SfxPoolItem* SvxViewLayoutItem::Create( SvStream& /*rStrm*/, sal_uInt16 /*nVersi
SvStream& SvxViewLayoutItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
{
-/* rStrm << (sal_uInt16)GetValue()
- << nValueSet
- << (sal_Int8)eType;*/
return rStrm;
}
@@ -138,7 +128,6 @@ bool SvxViewLayoutItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nM
bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId )
{
-// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
switch ( nMemberId )
{
diff --git a/svx/source/items/zoomslideritem.cxx b/svx/source/items/zoomslideritem.cxx
index 06c754006de5..963785969e46 100644
--- a/svx/source/items/zoomslideritem.cxx
+++ b/svx/source/items/zoomslideritem.cxx
@@ -75,13 +75,6 @@ SfxPoolItem* SvxZoomSliderItem::Clone( SfxItemPool * /*pPool*/ ) const
SfxPoolItem* SvxZoomSliderItem::Create( SvStream& /*rStrm*/, sal_uInt16 /*nVersion*/ ) const
{
-/* sal_uInt16 nValue;
- sal_uInt16 nValSet;
- sal_Int8 nType;
- rStrm >> nValue >> nValSet >> nType;
- SvxZoomItem* pNew = new SvxZoomItem( (SvxZoomType)nType, nValue, Which() );
- pNew->SetValueSet( nValSet );
- return pNew;*/
return 0;
}
@@ -89,9 +82,6 @@ SfxPoolItem* SvxZoomSliderItem::Create( SvStream& /*rStrm*/, sal_uInt16 /*nVersi
SvStream& SvxZoomSliderItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
{
-/* rStrm << (sal_uInt16)GetValue()
- << nValueSet
- << (sal_Int8)eType;*/
return rStrm;
}
@@ -157,7 +147,6 @@ bool SvxZoomSliderItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nM
bool SvxZoomSliderItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId )
{
-// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
switch ( nMemberId )
{