summaryrefslogtreecommitdiff
path: root/editeng/source/items/frmitems.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/frmitems.cxx')
-rw-r--r--editeng/source/items/frmitems.cxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 46c74854f246..ee96b672e60f 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -1368,7 +1368,6 @@ bool SvxShadowItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
-
bool SvxShadowItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" );
@@ -1380,14 +1379,12 @@ bool SvxShadowItem::operator==( const SfxPoolItem& rAttr ) const
}
-
SfxPoolItem* SvxShadowItem::Clone( SfxItemPool* ) const
{
return new SvxShadowItem( *this );
}
-
sal_uInt16 SvxShadowItem::CalcShadowSpace( SvxShadowItemSide nShadow ) const
{
sal_uInt16 nSpace = 0;
@@ -1425,7 +1422,6 @@ sal_uInt16 SvxShadowItem::CalcShadowSpace( SvxShadowItemSide nShadow ) const
}
-
bool SvxShadowItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1475,7 +1471,6 @@ bool SvxShadowItem::GetPresentation
}
-
SvStream& SvxShadowItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ ) const
{
rStrm.WriteSChar( GetLocation() )
@@ -1488,21 +1483,18 @@ SvStream& SvxShadowItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ )
}
-
void SvxShadowItem::ScaleMetrics( long nMult, long nDiv )
{
nWidth = (sal_uInt16)Scale( nWidth, nMult, nDiv );
}
-
bool SvxShadowItem::HasMetrics() const
{
return true;
}
-
SfxPoolItem* SvxShadowItem::Create( SvStream& rStrm, sal_uInt16 ) const
{
sal_Int8 cLoc;
@@ -1520,14 +1512,12 @@ SfxPoolItem* SvxShadowItem::Create( SvStream& rStrm, sal_uInt16 ) const
}
-
sal_uInt16 SvxShadowItem::GetValueCount() const
{
return SVX_SHADOW_END; // SVX_SHADOW_BOTTOMRIGHT + 1
}
-
OUString SvxShadowItem::GetValueTextByPos( sal_uInt16 nPos ) const
{
DBG_ASSERT( nPos < SVX_SHADOW_END, "enum overflow!" );
@@ -1535,14 +1525,12 @@ OUString SvxShadowItem::GetValueTextByPos( sal_uInt16 nPos ) const
}
-
sal_uInt16 SvxShadowItem::GetEnumValue() const
{
return (sal_uInt16)GetLocation();
}
-
void SvxShadowItem::SetEnumValue( sal_uInt16 nVal )
{
SetLocation( (const SvxShadowLocation)nVal );
@@ -1578,7 +1566,6 @@ SvxBoxItem::SvxBoxItem( const SvxBoxItem& rCpy ) :
}
-
SvxBoxItem::SvxBoxItem( const sal_uInt16 nId ) :
SfxPoolItem( nId ),
@@ -1595,7 +1582,6 @@ SvxBoxItem::SvxBoxItem( const sal_uInt16 nId ) :
}
-
SvxBoxItem::~SvxBoxItem()
{
delete pTop;
@@ -1605,7 +1591,6 @@ SvxBoxItem::~SvxBoxItem()
}
-
SvxBoxItem& SvxBoxItem::operator=( const SvxBoxItem& rBox )
{
nTopDist = rBox.nTopDist;
@@ -1621,7 +1606,6 @@ SvxBoxItem& SvxBoxItem::operator=( const SvxBoxItem& rBox )
}
-
inline bool CmpBrdLn( const SvxBorderLine* pBrd1, const SvxBorderLine* pBrd2 )
{
if( pBrd1 == pBrd2 )
@@ -1632,7 +1616,6 @@ inline bool CmpBrdLn( const SvxBorderLine* pBrd1, const SvxBorderLine* pBrd2 )
}
-
bool SvxBoxItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" );
@@ -1796,7 +1779,6 @@ SvxBoxItem::LineToSvxLine(const css::table::BorderLine2& rLine, SvxBorderLine& r
}
-
namespace
{
@@ -2035,14 +2017,12 @@ bool SvxBoxItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
-
SfxPoolItem* SvxBoxItem::Clone( SfxItemPool* ) const
{
return new SvxBoxItem( *this );
}
-
bool SvxBoxItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -2181,7 +2161,6 @@ bool SvxBoxItem::GetPresentation
}
-
SvStream& SvxBoxItem::Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const
{
rStrm.WriteUInt16( GetDistance() );
@@ -2223,7 +2202,6 @@ SvStream& SvxBoxItem::Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const
}
-
sal_uInt16 SvxBoxItem::GetVersion( sal_uInt16 nFFVer ) const
{
DBG_ASSERT( SOFFICE_FILEFORMAT_31==nFFVer ||
@@ -2235,7 +2213,6 @@ sal_uInt16 SvxBoxItem::GetVersion( sal_uInt16 nFFVer ) const
}
-
void SvxBoxItem::ScaleMetrics( long nMult, long nDiv )
{
if ( pTop ) pTop->ScaleMetrics( nMult, nDiv );
@@ -2249,14 +2226,12 @@ void SvxBoxItem::ScaleMetrics( long nMult, long nDiv )
}
-
bool SvxBoxItem::HasMetrics() const
{
return true;
}
-
SfxPoolItem* SvxBoxItem::Create( SvStream& rStrm, sal_uInt16 nIVersion ) const
{
sal_uInt16 nDistance;
@@ -2296,7 +2271,6 @@ SfxPoolItem* SvxBoxItem::Create( SvStream& rStrm, sal_uInt16 nIVersion ) const
}
-
const SvxBorderLine *SvxBoxItem::GetLine( SvxBoxItemLine nLine ) const
{
const SvxBorderLine *pRet = nullptr;
@@ -2324,7 +2298,6 @@ const SvxBorderLine *SvxBoxItem::GetLine( SvxBoxItemLine nLine ) const
}
-
void SvxBoxItem::SetLine( const SvxBorderLine* pNew, SvxBoxItemLine nLine )
{
SvxBorderLine* pTmp = pNew ? new SvxBorderLine( *pNew ) : nullptr;
@@ -2354,7 +2327,6 @@ void SvxBoxItem::SetLine( const SvxBorderLine* pNew, SvxBoxItemLine nLine )
}
-
sal_uInt16 SvxBoxItem::GetDistance() const
{
// The smallest distance that is not 0 will be returned.
@@ -2370,7 +2342,6 @@ sal_uInt16 SvxBoxItem::GetDistance() const
}
-
sal_uInt16 SvxBoxItem::GetDistance( SvxBoxItemLine nLine ) const
{
sal_uInt16 nDist = 0;
@@ -2396,7 +2367,6 @@ sal_uInt16 SvxBoxItem::GetDistance( SvxBoxItemLine nLine ) const
}
-
void SvxBoxItem::SetDistance( sal_uInt16 nNew, SvxBoxItemLine nLine )
{
switch ( nLine )
@@ -2419,7 +2389,6 @@ void SvxBoxItem::SetDistance( sal_uInt16 nNew, SvxBoxItemLine nLine )
}
-
sal_uInt16 SvxBoxItem::CalcLineSpace( SvxBoxItemLine nLine, bool bIgnoreLine ) const
{
SvxBorderLine* pTmp = nullptr;
@@ -2470,7 +2439,6 @@ SvxBoxInfoItem::SvxBoxInfoItem( const sal_uInt16 nId ) :
}
-
SvxBoxInfoItem::SvxBoxInfoItem( const SvxBoxInfoItem& rCpy ) :
SfxPoolItem( rCpy ),
mbEnableHor( rCpy.mbEnableHor ),
@@ -2485,7 +2453,6 @@ SvxBoxInfoItem::SvxBoxInfoItem( const SvxBoxInfoItem& rCpy ) :
}
-
SvxBoxInfoItem::~SvxBoxInfoItem()
{
delete pHori;
@@ -2493,7 +2460,6 @@ SvxBoxInfoItem::~SvxBoxInfoItem()
}
-
SvxBoxInfoItem &SvxBoxInfoItem::operator=( const SvxBoxInfoItem& rCpy )
{
delete pHori;
@@ -2510,7 +2476,6 @@ SvxBoxInfoItem &SvxBoxInfoItem::operator=( const SvxBoxInfoItem& rCpy )
}
-
bool SvxBoxInfoItem::operator==( const SfxPoolItem& rAttr ) const
{
const SvxBoxInfoItem& rBoxInfo = static_cast<const SvxBoxInfoItem&>(rAttr);
@@ -2529,7 +2494,6 @@ bool SvxBoxInfoItem::operator==( const SfxPoolItem& rAttr ) const
}
-
void SvxBoxInfoItem::SetLine( const SvxBorderLine* pNew, SvxBoxInfoItemLine nLine )
{
SvxBorderLine* pTmp = pNew ? new SvxBorderLine( *pNew ) : nullptr;
@@ -2552,14 +2516,12 @@ void SvxBoxInfoItem::SetLine( const SvxBorderLine* pNew, SvxBoxInfoItemLine nLin
}
-
SfxPoolItem* SvxBoxInfoItem::Clone( SfxItemPool* ) const
{
return new SvxBoxInfoItem( *this );
}
-
bool SvxBoxInfoItem::GetPresentation
(
SfxItemPresentation /*ePres*/,
@@ -2573,7 +2535,6 @@ bool SvxBoxInfoItem::GetPresentation
}
-
SvStream& SvxBoxInfoItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ ) const
{
sal_Int8 cFlags = 0;
@@ -2607,7 +2568,6 @@ SvStream& SvxBoxInfoItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ )
}
-
void SvxBoxInfoItem::ScaleMetrics( long nMult, long nDiv )
{
if ( pHori ) pHori->ScaleMetrics( nMult, nDiv );
@@ -2616,14 +2576,12 @@ void SvxBoxInfoItem::ScaleMetrics( long nMult, long nDiv )
}
-
bool SvxBoxInfoItem::HasMetrics() const
{
return true;
}
-
SfxPoolItem* SvxBoxInfoItem::Create( SvStream& rStrm, sal_uInt16 ) const
{
sal_Int8 cFlags;
@@ -2660,7 +2618,6 @@ SfxPoolItem* SvxBoxInfoItem::Create( SvStream& rStrm, sal_uInt16 ) const
}
-
void SvxBoxInfoItem::ResetFlags()
{
nValidFlags = static_cast<SvxBoxInfoItemValidFlags>(0x7F); // all valid except Disable
@@ -2728,7 +2685,6 @@ bool SvxBoxInfoItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
}
-
bool SvxBoxInfoItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
{
bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
@@ -2902,7 +2858,6 @@ bool SvxFormatBreakItem::operator==( const SfxPoolItem& rAttr ) const
}
-
bool SvxFormatBreakItem::GetPresentation
(
SfxItemPresentation /*ePres*/,
@@ -2916,7 +2871,6 @@ bool SvxFormatBreakItem::GetPresentation
}
-
OUString SvxFormatBreakItem::GetValueTextByPos( sal_uInt16 nPos ) const
{
DBG_ASSERT( nPos < SVX_BREAK_END, "enum overflow!" );