diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-07-11 12:52:23 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-13 06:58:01 +0000 |
commit | 26ac3ee8b2f8cb3bd298d98f9a94c9e305f6c304 (patch) | |
tree | e3151f901b656070bba1837d9881d57ac12fbb46 /editeng/source/items | |
parent | d11b244bf9b9115f5384d6ff43bdffc7f1289d71 (diff) |
editeng, convert to typed Link<>
and remove SvxBrushItem::SetDoneLink since the field it sets
is unused.wq
Change-Id: Ide95a295fa8004f1ddab5e560f01d36d36658a72
Reviewed-on: https://gerrit.libreoffice.org/16943
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 8 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 357eb8b6e91f..b0b61af5d94b 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -3315,7 +3315,6 @@ public: GraphicObject* pGraphicObject; sal_Int8 nGraphicTransparency; //contains a percentage value which is //copied to the GraphicObject when necessary - Link<> aDoneLink; SvStream* pStream; SvxBrushItem_Impl( GraphicObject* p ) : pGraphicObject( p ), nGraphicTransparency(0), pStream(0) {} @@ -3323,13 +3322,6 @@ public: -void SvxBrushItem::SetDoneLink( const Link<>& rLink ) -{ - pImpl->aDoneLink = rLink; -} - - - SvxBrushItem::SvxBrushItem( sal_uInt16 _nWhich ) : SfxPoolItem( _nWhich ), diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index c25121471652..0edc0a4e85c7 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -338,7 +338,6 @@ SvxNumberFormat& SvxNumberFormat::operator=( const SvxNumberFormat& rFormat ) if(rFormat.pGraphicBrush) { pGraphicBrush = new SvxBrushItem(*rFormat.pGraphicBrush); - pGraphicBrush->SetDoneLink( LINK( this, SvxNumberFormat, GraphicArrived) ); } DELETEZ(pBulletFont); if(rFormat.pBulletFont) @@ -402,7 +401,6 @@ void SvxNumberFormat::SetGraphicBrush( const SvxBrushItem* pBrushItem, { delete pGraphicBrush; pGraphicBrush = static_cast<SvxBrushItem*>(pBrushItem->Clone()); - pGraphicBrush->SetDoneLink( LINK( this, SvxNumberFormat, GraphicArrived) ); } if(pOrient) @@ -422,7 +420,6 @@ void SvxNumberFormat::SetGraphic( const OUString& rName ) delete pGraphicBrush; pGraphicBrush = new SvxBrushItem( rName, "", GPOS_AREA, 0 ); - pGraphicBrush->SetDoneLink( LINK( this, SvxNumberFormat, GraphicArrived) ); if( eVertOrient == text::VertOrientation::NONE ) eVertOrient = text::VertOrientation::TOP; |