diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-25 15:19:48 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-25 16:59:56 -0500 |
commit | 20f03d3607089c16f34ece59a9384ca1d50e410e (patch) | |
tree | fb8348cc7da318229dbfd9e7866315a6d91a6c4f /chart2/source | |
parent | 8889c48ae5822ec053c5a289d78465d144ec53f5 (diff) |
C2U macros no longer necessary.
Change-Id: Ia7b3d03e6d00dd2a57cd40dc9a63507652cac84d
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/charttypes/AreaChart.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index fa0ec3dd1857..a9e207c628d8 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -97,9 +97,9 @@ AreaChart::AreaChart( const uno::Reference<XChartType>& xChartTypeModel { if( m_xChartTypeModelProps.is() ) { - m_xChartTypeModelProps->getPropertyValue( C2U( "CurveStyle" ) ) >>= m_eCurveStyle; - m_xChartTypeModelProps->getPropertyValue( C2U( "CurveResolution" ) ) >>= m_nCurveResolution; - m_xChartTypeModelProps->getPropertyValue( C2U( "SplineOrder" ) ) >>= m_nSplineOrder; + m_xChartTypeModelProps->getPropertyValue("CurveStyle") >>= m_eCurveStyle; + m_xChartTypeModelProps->getPropertyValue("CurveResolution") >>= m_nCurveResolution; + m_xChartTypeModelProps->getPropertyValue("SplineOrder") >>= m_nSplineOrder; } } catch( uno::Exception& e ) @@ -377,7 +377,7 @@ bool AreaChart::impl_createLine( VDataSeries* pSeries , pSeries->getPropertiesOfSeries() , PropertyMapper::getPropertyNameMapForLineSeriesProperties() ); //because of this name this line will be used for marking - m_pShapeFactory->setShapeName( xShape, C2U("MarkHandles") ); + m_pShapeFactory->setShapeName(xShape, "MarkHandles"); } return true; } @@ -458,7 +458,7 @@ bool AreaChart::impl_createArea( VDataSeries* pSeries , pSeries->getPropertiesOfSeries() , PropertyMapper::getPropertyNameMapForFilledSeriesProperties() ); //because of this name this line will be used for marking - m_pShapeFactory->setShapeName( xShape, C2U("MarkHandles") ); + m_pShapeFactory->setShapeName(xShape, "MarkHandles"); return true; } @@ -814,8 +814,8 @@ void AreaChart::createShapes() { bool bShowPositive = false; bool bShowNegative = false; - xErrorBarProp->getPropertyValue( C2U( "ShowPositiveError" )) >>= bShowPositive; - xErrorBarProp->getPropertyValue( C2U( "ShowNegativeError" )) >>= bShowNegative; + xErrorBarProp->getPropertyValue("ShowPositiveError") >>= bShowPositive; + xErrorBarProp->getPropertyValue("ShowNegativeError") >>= bShowNegative; bCreateYErrorBar = bShowPositive || bShowNegative; } @@ -824,8 +824,8 @@ void AreaChart::createShapes() { bool bShowPositive = false; bool bShowNegative = false; - xErrorBarProp->getPropertyValue( C2U( "ShowPositiveError" )) >>= bShowPositive; - xErrorBarProp->getPropertyValue( C2U( "ShowNegativeError" )) >>= bShowNegative; + xErrorBarProp->getPropertyValue("ShowPositiveError") >>= bShowPositive; + xErrorBarProp->getPropertyValue("ShowNegativeError") >>= bShowNegative; bCreateXErrorBar = bShowPositive || bShowNegative; } } |