diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-08 11:44:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-08 11:48:14 +0200 |
commit | 78b9537b6aca0f998f939988e6e1a56528d28baf (patch) | |
tree | 6b96ba6b37c32c3ba2ffa112aff990739642e063 /chart2/qa | |
parent | e5d0a9ad78ceb531018cb49c1d78b0f63ba92995 (diff) |
various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
Diffstat (limited to 'chart2/qa')
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index eded887bbb3f..30a252a4ae91 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -274,8 +274,8 @@ void testErrorBar( Reference< XPropertySet > xErrorBar ) void checkCommonTrendline( Reference<chart2::XRegressionCurve> xCurve, double aExpectedExtrapolateForward, double aExpectedExtrapolateBackward, - sal_Bool aExpectedForceIntercept, double aExpectedInterceptValue, - sal_Bool aExpectedShowEquation, sal_Bool aExpectedR2) + bool aExpectedForceIntercept, double aExpectedInterceptValue, + bool aExpectedShowEquation, bool aExpectedR2) { Reference<XPropertySet> xProperties( xCurve , uno::UNO_QUERY ); CPPUNIT_ASSERT(xProperties.is()); @@ -288,7 +288,7 @@ void checkCommonTrendline( CPPUNIT_ASSERT(xProperties->getPropertyValue("ExtrapolateBackward") >>= aExtrapolateBackward); CPPUNIT_ASSERT_EQUAL(aExpectedExtrapolateBackward, aExtrapolateBackward); - sal_Bool aForceIntercept = false; + bool aForceIntercept = false; CPPUNIT_ASSERT(xProperties->getPropertyValue("ForceIntercept") >>= aForceIntercept); CPPUNIT_ASSERT_EQUAL(aExpectedForceIntercept, aForceIntercept); @@ -302,11 +302,11 @@ void checkCommonTrendline( Reference< XPropertySet > xEquationProperties( xCurve->getEquationProperties() ); CPPUNIT_ASSERT(xEquationProperties.is()); - sal_Bool aShowEquation = false; + bool aShowEquation = false; CPPUNIT_ASSERT(xEquationProperties->getPropertyValue("ShowEquation") >>= aShowEquation); CPPUNIT_ASSERT_EQUAL(aExpectedShowEquation, aShowEquation); - sal_Bool aShowCorrelationCoefficient = false; + bool aShowCorrelationCoefficient = false; CPPUNIT_ASSERT(xEquationProperties->getPropertyValue("ShowCorrelationCoefficient") >>= aShowCorrelationCoefficient); CPPUNIT_ASSERT_EQUAL(aExpectedR2, aShowCorrelationCoefficient); } @@ -327,8 +327,8 @@ void checkNameAndType(Reference<XPropertySet> xProperties, const OUString& aExpe void checkLinearTrendline( Reference<chart2::XRegressionCurve> xCurve, const OUString& aExpectedName, double aExpectedExtrapolateForward, double aExpectedExtrapolateBackward, - sal_Bool aExpectedForceIntercept, double aExpectedInterceptValue, - sal_Bool aExpectedShowEquation, sal_Bool aExpectedR2) + bool aExpectedForceIntercept, double aExpectedInterceptValue, + bool aExpectedShowEquation, bool aExpectedR2) { Reference<XPropertySet> xProperties( xCurve , uno::UNO_QUERY ); CPPUNIT_ASSERT(xProperties.is()); @@ -346,8 +346,8 @@ void checkPolynomialTrendline( Reference<chart2::XRegressionCurve> xCurve, const OUString& aExpectedName, sal_Int32 aExpectedDegree, double aExpectedExtrapolateForward, double aExpectedExtrapolateBackward, - sal_Bool aExpectedForceIntercept, double aExpectedInterceptValue, - sal_Bool aExpectedShowEquation, sal_Bool aExpectedR2) + bool aExpectedForceIntercept, double aExpectedInterceptValue, + bool aExpectedShowEquation, bool aExpectedR2) { Reference<XPropertySet> xProperties( xCurve , uno::UNO_QUERY ); CPPUNIT_ASSERT(xProperties.is()); |