summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xechart.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-29 15:57:22 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:40 +0200
commit03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (patch)
tree4d8245b295c316bc71dc713c4691322c27a37d12 /sc/source/filter/excel/xechart.cxx
parent6ca16a4cad999dbb0296ea64db2263a26e52f36c (diff)
loplugin:staticmethods
Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
Diffstat (limited to 'sc/source/filter/excel/xechart.cxx')
-rw-r--r--sc/source/filter/excel/xechart.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index 735995f53f52..4b6c300cd4a0 100644
--- a/sc/source/filter/excel/xechart.cxx
+++ b/sc/source/filter/excel/xechart.cxx
@@ -1149,10 +1149,9 @@ void XclExpChFontBase::ConvertFontBase( const XclExpChRoot& rRoot, const ScfProp
ConvertFontBase( rRoot, rRoot.ConvertFont( rPropSet, rRoot.GetDefApiScript() ) );
}
-void XclExpChFontBase::ConvertRotationBase(
- const XclExpChRoot& rRoot, const ScfPropertySet& rPropSet, bool bSupportsStacked )
+void XclExpChFontBase::ConvertRotationBase(const ScfPropertySet& rPropSet, bool bSupportsStacked )
{
- sal_uInt16 nRotation = rRoot.GetChartPropSetHelper().ReadRotationProperties( rPropSet, bSupportsStacked );
+ sal_uInt16 nRotation = XclChPropSetHelper::ReadRotationProperties( rPropSet, bSupportsStacked );
SetRotation( nRotation );
}
@@ -1209,7 +1208,7 @@ void XclExpChText::ConvertTitle( Reference< XTitle > xTitle, sal_uInt16 nTarget,
ConvertFontBase( GetChRoot(), nFontIdx );
// rotation
- ConvertRotationBase( GetChRoot(), aTitleProp, true );
+ ConvertRotationBase( aTitleProp, true );
// manual text position - only for main title
mxFramePos.reset( new XclExpChFramePos( EXC_CHFRAMEPOS_PARENT, EXC_CHFRAMEPOS_PARENT ) );
@@ -1302,7 +1301,7 @@ bool XclExpChText::ConvertDataLabel( const ScfPropertySet& rPropSet,
{
// font settings
ConvertFontBase( GetChRoot(), rPropSet );
- ConvertRotationBase( GetChRoot(), rPropSet, false );
+ ConvertRotationBase( rPropSet, false );
// label placement
sal_Int32 nPlacement = 0;
sal_uInt16 nLabelPos = EXC_CHTEXT_POS_AUTO;
@@ -1444,7 +1443,7 @@ XclExpChMarkerFormat::XclExpChMarkerFormat( const XclExpChRoot& rRoot ) :
void XclExpChMarkerFormat::Convert( const XclExpChRoot& rRoot,
const ScfPropertySet& rPropSet, sal_uInt16 nFormatIdx )
{
- rRoot.GetChartPropSetHelper().ReadMarkerProperties( maData, rPropSet, nFormatIdx );
+ XclChPropSetHelper::ReadMarkerProperties( maData, rPropSet, nFormatIdx );
/* Set marker line/fill color to series line color.
TODO: remove this if OOChart supports own colors in markers. */
Color aLineColor;
@@ -2995,7 +2994,7 @@ void XclExpChAxis::Convert( Reference< XAxis > xAxis, Reference< XAxis > xCrossi
// axis label formatting and rotation
ConvertFontBase( GetChRoot(), aAxisProp );
- ConvertRotationBase( GetChRoot(), aAxisProp, true );
+ ConvertRotationBase( aAxisProp, true );
// axis number format
sal_Int32 nApiNumFmt = 0;