summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2004-01-23 08:38:08 +0000
committerIngrid Halama <iha@openoffice.org>2004-01-23 08:38:08 +0000
commitbbe5c34ddd5b24e7b2a90e77655f6fc81842938f (patch)
tree0c95f8b40b3f5688282d8109f9ce70b09e684608 /chart2
parent3b324554a0c2776c94d87d235cef12310863ea03 (diff)
crash caused by shared pointer
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VPolarAxis.cxx6
1 files changed, 3 insertions, 3 deletions
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));