From c69280ab4ef3d24d255605620ce5a4faca3ea184 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Sep 2012 15:25:26 +0200 Subject: sal_Bool -> bool in chart2 Change-Id: Idba76b64746fb1eec0a723a9fcbac025eda3d9a1 --- chart2/source/view/axes/VAxisProperties.cxx | 6 ++---- chart2/source/view/axes/VAxisProperties.hxx | 10 +++++----- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'chart2') diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx index 049d0e9d08e1..86ec8f2ac6b9 100644 --- a/chart2/source/view/axes/VAxisProperties.cxx +++ b/chart2/source/view/axes/VAxisProperties.cxx @@ -430,11 +430,9 @@ void AxisLabelProperties::init( const uno::Reference< XAxis >& xAxisModel ) } } -sal_Bool AxisLabelProperties::getIsStaggered() const +bool AxisLabelProperties::getIsStaggered() const { - if( STAGGER_ODD == eStaggering || STAGGER_EVEN == eStaggering ) - return sal_True; - return sal_False; + return ( STAGGER_ODD == eStaggering || STAGGER_EVEN == eStaggering ); } //............................................................................. diff --git a/chart2/source/view/axes/VAxisProperties.hxx b/chart2/source/view/axes/VAxisProperties.hxx index 573173cbf859..eda2862bb2ee 100644 --- a/chart2/source/view/axes/VAxisProperties.hxx +++ b/chart2/source/view/axes/VAxisProperties.hxx @@ -70,10 +70,10 @@ struct AxisLabelProperties AxisLabelStaggering eStaggering; - sal_Bool bLineBreakAllowed; - sal_Bool bOverlapAllowed; + bool bLineBreakAllowed; + bool bOverlapAllowed; - sal_Bool bStackCharacters; + bool bStackCharacters; double fRotationAngleDegree; sal_Int32 nRhythm; //show only each nth label with n==nRhythm @@ -83,7 +83,7 @@ struct AxisLabelProperties void init( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxisModel ); - sal_Bool getIsStaggered() const; + bool getIsStaggered() const; }; struct AxisProperties @@ -109,7 +109,7 @@ struct AxisProperties //this direction is used to indicate in which direction inner tickmarks are to be drawn double m_fInnerDirectionSign; LabelAlignment m_aLabelAlignment; - sal_Bool m_bDisplayLabels; + bool m_bDisplayLabels; sal_Int32 m_nNumberFormatKey; -- cgit