summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoprov.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-11 11:17:38 +0200
committerNoel Grandin <noel@peralex.com>2014-03-14 07:50:31 +0200
commit86ffac74e3e0a725abe6b0f79946b3381828bc8e (patch)
treeb4e38b61202b3bd1ca0e0929e5da3bb0d18be68e /svx/source/unodraw/unoprov.cxx
parent358be80f65d335910a4add147cd15e35d3505afd (diff)
svx: sal_Bool->bool
Change-Id: I8cee08b48660c850e32c061dde0b0e3fdde38349
Diffstat (limited to 'svx/source/unodraw/unoprov.cxx')
-rw-r--r--svx/source/unodraw/unoprov.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index da19e34fb04e..f7a385519d55 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -1002,7 +1002,7 @@ sal_Bool SvxMeasureUnitToMapUnit( const short eApi, int& eVcl ) throw()
/** maps the vcl MapUnit enum to a API constant MeasureUnit.
Returns false if conversion is not supported.
*/
-sal_Bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw()
+bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw()
{
switch( eVcl )
{
@@ -1028,7 +1028,7 @@ sal_Bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw()
Returns false if conversion is not supported.
*/
-sal_Bool SvxMeasureUnitToFieldUnit( const short eApi, short& eVcl ) throw()
+bool SvxMeasureUnitToFieldUnit( const short eApi, short& eVcl ) throw()
{
switch( eApi )
{
@@ -1045,16 +1045,16 @@ sal_Bool SvxMeasureUnitToFieldUnit( const short eApi, short& eVcl ) throw()
case util::MeasureUnit::PERCENT: eVcl = FUNIT_PERCENT; break;
case util::MeasureUnit::MM_100TH: eVcl = FUNIT_100TH_MM; break;
default:
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
/** maps the vcl MapUnit enum to a API constant MeasureUnit.
Returns false if conversion is not supported.
*/
-sal_Bool SvxFieldUnitToMeasureUnit( const short eVcl, short& eApi ) throw()
+bool SvxFieldUnitToMeasureUnit( const short eVcl, short& eApi ) throw()
{
switch( eVcl )
{
@@ -1071,10 +1071,10 @@ sal_Bool SvxFieldUnitToMeasureUnit( const short eVcl, short& eApi ) throw()
case FUNIT_PERCENT: eApi = util::MeasureUnit::PERCENT; break;
case FUNIT_100TH_MM: eApi = util::MeasureUnit::MM_100TH; break;
default:
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
bool SvxUnoGetResourceRanges( const short nWhich, int& nApiResIds, int& nIntResIds, int& nCount ) throw()