diff options
author | Noel Grandin <noel@peralex.com> | 2012-09-25 15:25:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-04 21:29:32 +0200 |
commit | c69280ab4ef3d24d255605620ce5a4faca3ea184 (patch) | |
tree | ed82a8eb780a6a5fd54f218f232c3bfbecf15694 /chart2 | |
parent | 9ee020af1cece4c8ad09cf6b2522647133ccffd2 (diff) |
sal_Bool -> bool in chart2
Change-Id: Idba76b64746fb1eec0a723a9fcbac025eda3d9a1
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/axes/VAxisProperties.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/axes/VAxisProperties.hxx | 10 |
2 files changed, 7 insertions, 9 deletions
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; |