summaryrefslogtreecommitdiff
path: root/svl/source/items/rngitem.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-07-14 11:20:36 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-07-17 09:19:38 +0000
commite179af1576a7763f3aeb112a41a640057d02c4f0 (patch)
tree4b1b6246f1aa508c8d3ca8971d711c7d8020ae34 /svl/source/items/rngitem.cxx
parent4e0656ac0bc5be3306ad016a1a494577ad2ef8b8 (diff)
fdo#62475 removed pointless comments
Change-Id: Id9d579960a9b641b7b2cdf05eabea8bfbfc06bd6 Reviewed-on: https://gerrit.libreoffice.org/4901 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'svl/source/items/rngitem.cxx')
-rw-r--r--svl/source/items/rngitem.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/svl/source/items/rngitem.cxx b/svl/source/items/rngitem.cxx
index 645c543230e2..efc4d8134075 100644
--- a/svl/source/items/rngitem.cxx
+++ b/svl/source/items/rngitem.cxx
@@ -112,14 +112,12 @@ SvStream& SfxRangeItem::Store(SvStream &rStream, sal_uInt16) const
return rStream;
}
-//=========================================================================
SfxUShortRangesItem::SfxUShortRangesItem()
: _pRanges(0)
{
}
-//-------------------------------------------------------------------------
SfxUShortRangesItem::SfxUShortRangesItem( sal_uInt16 nWID, SvStream &rStream )
: SfxPoolItem( nWID )
@@ -132,7 +130,6 @@ SfxUShortRangesItem::SfxUShortRangesItem( sal_uInt16 nWID, SvStream &rStream )
_pRanges[nCount] = 0;
}
-//-------------------------------------------------------------------------
SfxUShortRangesItem::SfxUShortRangesItem( const SfxUShortRangesItem& rItem )
: SfxPoolItem( rItem )
@@ -142,14 +139,12 @@ SfxUShortRangesItem::SfxUShortRangesItem( const SfxUShortRangesItem& rItem )
memcpy( _pRanges, rItem._pRanges, sizeof(sal_uInt16) * nCount );
}
-//-------------------------------------------------------------------------
SfxUShortRangesItem::~SfxUShortRangesItem()
{
delete _pRanges;
}
-//-------------------------------------------------------------------------
int SfxUShortRangesItem::operator==( const SfxPoolItem &rItem ) const
{
@@ -167,7 +162,6 @@ int SfxUShortRangesItem::operator==( const SfxPoolItem &rItem ) const
return !_pRanges[n] && !rOther._pRanges[n];
}
-//-------------------------------------------------------------------------
SfxItemPresentation SfxUShortRangesItem::GetPresentation( SfxItemPresentation /*ePres*/,
SfxMapUnit /*eCoreMetric*/,
@@ -179,21 +173,18 @@ SfxItemPresentation SfxUShortRangesItem::GetPresentation( SfxItemPresentation /*
return SFX_ITEM_PRESENTATION_NONE;
}
-//-------------------------------------------------------------------------
SfxPoolItem* SfxUShortRangesItem::Clone( SfxItemPool * ) const
{
return new SfxUShortRangesItem( *this );
}
-//-------------------------------------------------------------------------
SfxPoolItem* SfxUShortRangesItem::Create( SvStream &rStream, sal_uInt16 ) const
{
return new SfxUShortRangesItem( Which(), rStream );
}
-//-------------------------------------------------------------------------
SvStream& SfxUShortRangesItem::Store( SvStream &rStream, sal_uInt16 ) const
{