diff options
author | Krisztian Pinter <pin.terminator@gmail.com> | 2013-02-18 18:45:17 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-20 22:58:20 +0000 |
commit | d05287a9f1bd1aa82d4485013248bb24e692c6b6 (patch) | |
tree | 78657726b483bc276a54ce15e055896101349cbd /chart2/source/tools/RegressionCurveHelper.cxx | |
parent | fix build breakage: ENABLE_SCRIPTING_PYTHON was already removed (diff) | |
download | core-d05287a9f1bd1aa82d4485013248bb24e692c6b6.tar.gz core-d05287a9f1bd1aa82d4485013248bb24e692c6b6.zip |
RTL_CONSTASCII_USTRINGPARAM removals
Removed all occurences of RTL_CONSTASCII_USTRINGPARAM in chart2.
Change-Id: I0ab188e2d67a5fc17a3653e5213031f6e2c2581d
Reviewed-on: https://gerrit.libreoffice.org/2244
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'chart2/source/tools/RegressionCurveHelper.cxx')
-rw-r--r-- | chart2/source/tools/RegressionCurveHelper.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx index 16a57e838249..81941a608451 100644 --- a/chart2/source/tools/RegressionCurveHelper.cxx +++ b/chart2/source/tools/RegressionCurveHelper.cxx @@ -167,8 +167,7 @@ void RegressionCurveHelper::initializeCurveCalculator( Reference< data::XDataSequence > xSeq( aDataSeqs[i]->getValues()); Reference< XPropertySet > xProp( xSeq, uno::UNO_QUERY_THROW ); ::rtl::OUString aRole; - if( xProp->getPropertyValue( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Role" ))) >>= aRole ) + if( xProp->getPropertyValue( "Role" ) >>= aRole ) { if( bUseXValuesIfAvailable && !bXValuesFound && aRole == "values-x" ) { @@ -630,7 +629,7 @@ void RegressionCurveHelper::resetEquationPosition( { try { - const OUString aPosPropertyName( RTL_CONSTASCII_USTRINGPARAM( "RelativePosition" )); + const OUString aPosPropertyName( "RelativePosition" ); Reference< beans::XPropertySet > xEqProp( xCurve->getEquationProperties()); // since m233: , uno::UNO_SET_THROW ); if( xEqProp->getPropertyValue( aPosPropertyName ).hasValue()) xEqProp->setPropertyValue( aPosPropertyName, uno::Any()); |