summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-14 16:31:47 +0200
committerNoel Grandin <noel@peralex.com>2016-01-15 09:36:41 +0200
commit802765dbe5f79748453c985da08824fb9ddefe11 (patch)
treebc2b86b325f419baa41a08020cf746523661447c /oox/source
parent52e69bfbba7220fe4181098102876f0e83ffbee1 (diff)
loplugin:unusedmethods unused return value in oox,package
Change-Id: I63862c3ce32a1106b7de037f422e7e5480e8bfd6
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/drawingml/chart/converterbase.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx
index 4f66eb0043d8..8bc82e0ec96d 100644
--- a/oox/source/drawingml/chart/converterbase.cxx
+++ b/oox/source/drawingml/chart/converterbase.cxx
@@ -385,7 +385,7 @@ bool LayoutConverter::convertFromModel( PropertySet& rPropSet )
return false;
}
-bool LayoutConverter::convertFromModel( const Reference< XShape >& rxShape, double fRotationAngle )
+void LayoutConverter::convertFromModel( const Reference< XShape >& rxShape, double fRotationAngle )
{
if( !mrModel.mbAutoLayout )
{
@@ -407,10 +407,8 @@ bool LayoutConverter::convertFromModel( const Reference< XShape >& rxShape, doub
aShapePos.Y += static_cast< sal_Int32 >( fSin * aShapeSize.Width + 0.5 );
// set the resulting position at the shape
rxShape->setPosition( aShapePos );
- return true;
}
}
- return false;
}
} // namespace chart