summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VAxisProperties.cxx6
-rw-r--r--chart2/source/view/axes/VAxisProperties.hxx10
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;