From 1e34ec4c18bad3e2ec1e9e32dd42e5bc0d4d97ac Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Sun, 7 Oct 2012 00:43:15 -0300 Subject: OUString cleanup in Chart2 Include C2U macro and rtl cleanup Change-Id: I4543a3a6d6a6971d2c31b8dc36bd2ec95bd892d4 --- .../itemsetwrapper/RegressionCurveItemConverter.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx') diff --git a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx index 970330c64b4e..fcf49d925ec2 100644 --- a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx @@ -169,10 +169,10 @@ bool RegressionCurveItemConverter::ApplySpecialItem( OSL_ASSERT( xEqProp.is()); bool bOldShow = false; if( xEqProp.is() && - (xEqProp->getPropertyValue( C2U( "ShowEquation" )) >>= bOldShow) && + (xEqProp->getPropertyValue( "ShowEquation" ) >>= bOldShow) && bOldShow != bNewShow ) { - xEqProp->setPropertyValue( C2U( "ShowEquation" ), uno::makeAny( bNewShow )); + xEqProp->setPropertyValue( "ShowEquation" , uno::makeAny( bNewShow )); bChanged = true; } } @@ -192,10 +192,10 @@ bool RegressionCurveItemConverter::ApplySpecialItem( OSL_ASSERT( xEqProp.is()); bool bOldShow = false; if( xEqProp.is() && - (xEqProp->getPropertyValue( C2U( "ShowCorrelationCoefficient" )) >>= bOldShow) && + (xEqProp->getPropertyValue( "ShowCorrelationCoefficient" ) >>= bOldShow) && bOldShow != bNewShow ) { - xEqProp->setPropertyValue( C2U( "ShowCorrelationCoefficient" ), uno::makeAny( bNewShow )); + xEqProp->setPropertyValue( "ShowCorrelationCoefficient" , uno::makeAny( bNewShow )); bChanged = true; } } @@ -235,7 +235,7 @@ void RegressionCurveItemConverter::FillSpecialItem( OSL_ASSERT( xEqProp.is()); bool bShow = false; if( xEqProp.is() && - (xEqProp->getPropertyValue( C2U( "ShowEquation" )) >>= bShow)) + (xEqProp->getPropertyValue( "ShowEquation" ) >>= bShow)) { rOutItemSet.Put( SfxBoolItem( nWhichId, bShow )); } @@ -252,7 +252,7 @@ void RegressionCurveItemConverter::FillSpecialItem( OSL_ASSERT( xEqProp.is()); bool bShow = false; if( xEqProp.is() && - (xEqProp->getPropertyValue( C2U( "ShowCorrelationCoefficient" )) >>= bShow)) + (xEqProp->getPropertyValue( "ShowCorrelationCoefficient" ) >>= bShow)) { rOutItemSet.Put( SfxBoolItem( nWhichId, bShow )); } -- cgit