summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VAxisProperties.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 12:57:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 13:45:36 +0200
commit3dcf6dfceee58360501396390d78c006351aef47 (patch)
tree6e8cea499ee3a9543a03fd4a5321f5153c76cd65 /chart2/source/view/axes/VAxisProperties.cxx
parent3b35bcf25fce566f91d084574650181ea791dff8 (diff)
remove unnecessary use of 'this->'
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4 Reviewed-on: https://gerrit.libreoffice.org/40671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/axes/VAxisProperties.cxx')
-rw-r--r--chart2/source/view/axes/VAxisProperties.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index f791d065a126..43ef2d33ea12 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -273,7 +273,7 @@ void AxisProperties::initAxisPositioning( const uno::Reference< beans::XProperty
void AxisProperties::init( bool bCartesian )
{
uno::Reference< beans::XPropertySet > xProp =
- uno::Reference<beans::XPropertySet>::query( this->m_xAxisModel );
+ uno::Reference<beans::XPropertySet>::query( m_xAxisModel );
if( !xProp.is() )
return;
@@ -347,11 +347,11 @@ void AxisProperties::init( bool bCartesian )
else if(m_nMajorTickmarks!=0)
nMaxDepth=1;
- this->m_aTickmarkPropertiesList.clear();
+ m_aTickmarkPropertiesList.clear();
for( sal_Int32 nDepth=0; nDepth<nMaxDepth; nDepth++ )
{
- TickmarkProperties aTickmarkProperties = this->makeTickmarkProperties( nDepth );
- this->m_aTickmarkPropertiesList.push_back( aTickmarkProperties );
+ TickmarkProperties aTickmarkProperties = makeTickmarkProperties( nDepth );
+ m_aTickmarkPropertiesList.push_back( aTickmarkProperties );
}
}
catch( const uno::Exception& e )
@@ -382,26 +382,26 @@ void AxisLabelProperties::init( const uno::Reference< XAxis >& xAxisModel )
{
try
{
- xProp->getPropertyValue( "TextBreak" ) >>= this->bLineBreakAllowed;
- xProp->getPropertyValue( "TextOverlap" ) >>= this->bOverlapAllowed;
- xProp->getPropertyValue( "StackCharacters" ) >>= this->bStackCharacters;
- xProp->getPropertyValue( "TextRotation" ) >>= this->fRotationAngleDegree;
+ xProp->getPropertyValue( "TextBreak" ) >>= bLineBreakAllowed;
+ xProp->getPropertyValue( "TextOverlap" ) >>= bOverlapAllowed;
+ xProp->getPropertyValue( "StackCharacters" ) >>= bStackCharacters;
+ xProp->getPropertyValue( "TextRotation" ) >>= fRotationAngleDegree;
css::chart::ChartAxisArrangeOrderType eArrangeOrder;
xProp->getPropertyValue( "ArrangeOrder" ) >>= eArrangeOrder;
switch(eArrangeOrder)
{
case css::chart::ChartAxisArrangeOrderType_SIDE_BY_SIDE:
- this->eStaggering = SIDE_BY_SIDE;
+ eStaggering = SIDE_BY_SIDE;
break;
case css::chart::ChartAxisArrangeOrderType_STAGGER_EVEN:
- this->eStaggering = STAGGER_EVEN;
+ eStaggering = STAGGER_EVEN;
break;
case css::chart::ChartAxisArrangeOrderType_STAGGER_ODD:
- this->eStaggering = STAGGER_ODD;
+ eStaggering = STAGGER_ODD;
break;
default:
- this->eStaggering = STAGGER_AUTO;
+ eStaggering = STAGGER_AUTO;
break;
}
}