summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-15 16:01:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-16 17:00:07 +0000
commitb209507a57e4ff01c6a06a20d741083b3ddef69d (patch)
tree5ccb095b226dbfd97704bc19844dee23a43377e7 /chart2/source/controller/chartapiwrapper
parent2604dae5729018dcc0894179b032c463f941624b (diff)
move setGeometry3D inside chart2::Diagram
Change-Id: I3825349e3889c45bbb5cbc467dad2f100ccd2298 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148952 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/chartapiwrapper')
-rw-r--r--chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index 332c018d786b..b778e49af878 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -1693,7 +1693,7 @@ void WrappedSolidTypeProperty::setPropertyValue( const Any& rOuterValue, const R
bool bAmbiguous = false;
sal_Int32 nOldSolidType = DiagramHelper::getGeometry3D( xDiagram, bFound, bAmbiguous );
if( bFound && ( nOldSolidType != nNewSolidType || bAmbiguous ) )
- DiagramHelper::setGeometry3D( xDiagram, nNewSolidType );
+ xDiagram->setGeometry3D( nNewSolidType );
}
Any WrappedSolidTypeProperty::getPropertyValue( const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const