sal_Bool -> bool in chart2

Change-Id: Idba76b64746fb1eec0a723a9fcbac025eda3d9a1
This commit is contained in:
Noel Grandin
2012-09-25 15:25:26 +02:00
committed by Michael Stahl
parent 9ee020af1c
commit c69280ab4e
2 changed files with 7 additions and 9 deletions

View File

@@ -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 );
}
//.............................................................................

View File

@@ -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;