diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-10-07 00:43:15 -0300 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-10-08 21:41:03 +0530 |
commit | 1e34ec4c18bad3e2ec1e9e32dd42e5bc0d4d97ac (patch) | |
tree | bdb8927d2cff5a275a87229a72ff9eb4a5fa348d /chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx | |
parent | e9960f36675a025c0536dec30ae56c50f4adecb1 (diff) |
OUString cleanup in Chart2
Include C2U macro and rtl cleanup
Change-Id: I4543a3a6d6a6971d2c31b8dc36bd2ec95bd892d4
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
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 )); } |