summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.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/controller/chartapiwrapper/DataSeriesPointWrapper.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/controller/chartapiwrapper/DataSeriesPointWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
index 371249471359..52d59ff21b54 100644
--- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
@@ -537,7 +537,7 @@ void SAL_CALL DataSeriesPointWrapper::disposing( const lang::EventObject& /*Sour
bool DataSeriesPointWrapper::isSupportingAreaProperties()
{
- Reference< chart2::XDataSeries > xSeries( this->getDataSeries() );
+ Reference< chart2::XDataSeries > xSeries( getDataSeries() );
Reference< chart2::XDiagram > xDiagram( m_spChart2ModelContact->getChart2Diagram() );
Reference< chart2::XChartType > xChartType( DiagramHelper::getChartTypeOfSeries( xDiagram, xSeries ) );
sal_Int32 nDimensionCount = DiagramHelper::getDimension( xDiagram );
@@ -565,7 +565,7 @@ Reference< beans::XPropertySet > DataSeriesPointWrapper::getDataPointProperties(
{
Reference< beans::XPropertySet > xPointProp;
- Reference< chart2::XDataSeries > xSeries( this->getDataSeries() );
+ Reference< chart2::XDataSeries > xSeries( getDataSeries() );
// may throw an IllegalArgumentException
if( xSeries.is() )
@@ -577,7 +577,7 @@ Reference< beans::XPropertySet > DataSeriesPointWrapper::getDataPointProperties(
//ReferenceSizePropertyProvider
void DataSeriesPointWrapper::updateReferenceSize()
{
- Reference< beans::XPropertySet > xProp( this->getInnerPropertySet(), uno::UNO_QUERY );
+ Reference< beans::XPropertySet > xProp( getInnerPropertySet(), uno::UNO_QUERY );
if( xProp.is() )
{
if( xProp->getPropertyValue("ReferencePageSize").hasValue() )
@@ -588,7 +588,7 @@ void DataSeriesPointWrapper::updateReferenceSize()
Any DataSeriesPointWrapper::getReferenceSize()
{
Any aRet;
- Reference< beans::XPropertySet > xProp( this->getInnerPropertySet(), uno::UNO_QUERY );
+ Reference< beans::XPropertySet > xProp( getInnerPropertySet(), uno::UNO_QUERY );
if( xProp.is() )
aRet = xProp->getPropertyValue("ReferencePageSize");
return aRet;
@@ -794,16 +794,16 @@ void SAL_CALL DataSeriesPointWrapper::setPropertyValue( const OUString& rPropert
switch(aNewValue)
{
case css::chart::ChartErrorCategory_CONSTANT_VALUE:
- aHigh = this->getPropertyValue("ConstantErrorHigh");
- aLow = this->getPropertyValue("ConstantErrorLow");
+ aHigh = getPropertyValue("ConstantErrorHigh");
+ aLow = getPropertyValue("ConstantErrorLow");
bSetHighAndLowValues = true;
break;
case css::chart::ChartErrorCategory_PERCENT:
- aHigh = aLow = this->getPropertyValue("PercentageError");
+ aHigh = aLow = getPropertyValue("PercentageError");
bSetHighAndLowValues = true;
break;
case css::chart::ChartErrorCategory_ERROR_MARGIN:
- aHigh = aLow = this->getPropertyValue("ErrorMargin");
+ aHigh = aLow = getPropertyValue("ErrorMargin");
bSetHighAndLowValues = true;
break;
default:
@@ -817,14 +817,14 @@ void SAL_CALL DataSeriesPointWrapper::setPropertyValue( const OUString& rPropert
switch(aNewValue)
{
case css::chart::ChartErrorCategory_CONSTANT_VALUE:
- this->setPropertyValue("ConstantErrorHigh",aHigh);
- this->setPropertyValue("ConstantErrorLow",aLow);
+ setPropertyValue("ConstantErrorHigh",aHigh);
+ setPropertyValue("ConstantErrorLow",aLow);
break;
case css::chart::ChartErrorCategory_PERCENT:
- this->setPropertyValue("PercentageError",aHigh);
+ setPropertyValue("PercentageError",aHigh);
break;
case css::chart::ChartErrorCategory_ERROR_MARGIN:
- this->setPropertyValue("ErrorMargin",aHigh);
+ setPropertyValue("ErrorMargin",aHigh);
break;
default:
break;