From bbe5c34ddd5b24e7b2a90e77655f6fc81842938f Mon Sep 17 00:00:00 2001 From: Ingrid Halama Date: Fri, 23 Jan 2004 08:38:08 +0000 Subject: crash caused by shared pointer --- chart2/source/view/axes/VPolarAxis.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2') diff --git a/chart2/source/view/axes/VPolarAxis.cxx b/chart2/source/view/axes/VPolarAxis.cxx index d8fbcd866134..001a12154dc5 100644 --- a/chart2/source/view/axes/VPolarAxis.cxx +++ b/chart2/source/view/axes/VPolarAxis.cxx @@ -2,9 +2,9 @@ * * $RCSfile: VPolarAxis.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: iha $ $Date: 2004-01-22 19:20:35 $ + * last change: $Author: iha $ $Date: 2004-01-23 09:38:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -270,7 +270,7 @@ void VPolarAxis::create2DRadiusAxis( const uno::Reference< drawing::XShapes >& x ; pTickInfo; pTickInfo = aIter.nextInfo(), nTick++ ) { pTickInfo->updateUnscaledValue( xInverseScaling ); - aAxisProperties.m_pfMainLinePositionAtOtherAxis = &pTickInfo->fUnscaledTickValue; + aAxisProperties.m_pfMainLinePositionAtOtherAxis = new double( pTickInfo->fUnscaledTickValue ); //------------------- VCartesianAxis aAxis(aAxisProperties,m_pNumberFormatterWrapper ,2,new PolarPlottingPositionHelper(false)); -- cgit