summaryrefslogtreecommitdiff
path: root/editeng/source/items
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-21 14:14:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-21 13:00:01 +0000
commit861a322c662eb48b8da21c9d3ad1fa1f2f961391 (patch)
tree218c27389b31068393ccb2117d22cdeaaeedfbee /editeng/source/items
parent965a008d66035069249b1f218f1663f5f9fcf5dd (diff)
loplugin:expandablemethodds in include/editeng
Change-Id: Iaf56cb9c16a4cbfb9ab1636228c77d1033a334f5 Reviewed-on: https://gerrit.libreoffice.org/30132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/items')
-rw-r--r--editeng/source/items/bulitem.cxx12
-rw-r--r--editeng/source/items/frmitems.cxx8
2 files changed, 7 insertions, 13 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index 5e2b91911357..1283f3287532 100644
--- a/editeng/source/items/bulitem.cxx
+++ b/editeng/source/items/bulitem.cxx
@@ -221,13 +221,13 @@ void SvxBulletItem::CopyValidProperties( const SvxBulletItem& rCopyFrom )
_aFont.SetFamily( aNewFont.GetFamilyType() );
_aFont.SetStyleName( aNewFont.GetStyleName() );
_aFont.SetColor( aNewFont.GetColor() );
- SetSymbol( rCopyFrom.GetSymbol() );
+ SetSymbol( rCopyFrom.cSymbol );
SetGraphicObject( rCopyFrom.GetGraphicObject() );
- SetScale( rCopyFrom.GetScale() );
- SetStart( rCopyFrom.GetStart() );
- SetStyle( rCopyFrom.GetStyle() );
- SetPrevText( rCopyFrom.GetPrevText() );
- SetFollowText( rCopyFrom.GetFollowText() );
+ SetScale( rCopyFrom.nScale );
+ SetStart( rCopyFrom.nStart );
+ SetStyle( rCopyFrom.nStyle );
+ aPrevText = rCopyFrom.aPrevText;
+ aFollowText = rCopyFrom.aFollowText;
SetFont( _aFont );
}
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 98e17c9d4c6f..7a51ddc069d0 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -3655,7 +3655,7 @@ bool SvxBrushItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
if (!(rVal >>= nVal))
return false;
- SetShadingValue( nVal );
+ nShadingValue = nVal;
}
break;
}
@@ -3979,12 +3979,6 @@ void SvxBrushItem::SetGraphicFilter( const OUString& rNew )
}
-void SvxBrushItem::SetShadingValue( const sal_Int32 nNew )
-{
- nShadingValue = nNew;
-}
-
-
SvxGraphicPosition SvxBrushItem::WallpaperStyle2GraphicPos( WallpaperStyle eStyle )
{
SvxGraphicPosition eResult;