summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/PropertyMaps.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-09-17 23:22:55 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-09-17 23:37:22 +0900
commit2ef38f3739aff407f6cdfe4ea9c46591c18dd2f8 (patch)
treed74b2d9204c62331ea766c198d8c8365f2970ce8 /xmloff/source/chart/PropertyMaps.cxx
parent8ecda4405a1160ade824bfde72d10513cacb9b1a (diff)
sal_Bool to bool
Change-Id: I81767fda35b52e73bc78c07b660244a6808a0409
Diffstat (limited to 'xmloff/source/chart/PropertyMaps.cxx')
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index 6970d5947e27..f712aeb1ff9c 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -195,7 +195,7 @@ void XMLChartExportPropertyMapper::ContextFilter(
uno::Reference< beans::XPropertySet > rPropSet ) const
{
OUString aAutoPropName;
- sal_Bool bCheckAuto = sal_False;
+ bool bCheckAuto = false;
// filter properties
for( std::vector< XMLPropertyState >::iterator property = rProperties.begin();
@@ -208,24 +208,24 @@ void XMLChartExportPropertyMapper::ContextFilter(
{
// if Auto... is set the corresponding properties mustn't be exported
case XML_SCH_CONTEXT_MIN:
- bCheckAuto = sal_True;
+ bCheckAuto = true;
aAutoPropName = "AutoMin";
break;
case XML_SCH_CONTEXT_MAX:
- bCheckAuto = sal_True;
+ bCheckAuto = true;
aAutoPropName = "AutoMax";
break;
case XML_SCH_CONTEXT_STEP_MAIN:
- bCheckAuto = sal_True;
+ bCheckAuto = true;
aAutoPropName = "AutoStepMain";
break;
case XML_SCH_CONTEXT_STEP_HELP_COUNT:
- bCheckAuto = sal_True;
+ bCheckAuto = true;
aAutoPropName = "AutoStepHelp";
break;
case XML_SCH_CONTEXT_ORIGIN:
- bCheckAuto = sal_True;
+ bCheckAuto = true;
aAutoPropName = "AutoOrigin";
break;
@@ -262,7 +262,7 @@ void XMLChartExportPropertyMapper::ContextFilter(
{
}
}
- bCheckAuto = sal_False;
+ bCheckAuto = false;
}
}
@@ -359,13 +359,13 @@ void XMLChartExportPropertyMapper::handleSpecialItem(
const ::std::vector< XMLPropertyState > *pProperties,
sal_uInt32 nIdx ) const
{
- sal_Bool bHandled = sal_False;
+ bool bHandled = false;
sal_Int32 nContextId = getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex );
if( nContextId )
{
- bHandled = sal_True;
+ bHandled = true;
OUString sAttrName = getPropertySetMapper()->GetEntryXMLName( rProperty.mnIndex );
sal_uInt16 nNameSpace = getPropertySetMapper()->GetEntryNameSpace( rProperty.mnIndex );
@@ -373,7 +373,7 @@ void XMLChartExportPropertyMapper::handleSpecialItem(
OUString sValue;
sal_Int32 nValue = 0;
- sal_Bool bValue = sal_False;
+ bool bValue = false;
switch( nContextId )
{
@@ -475,7 +475,7 @@ void XMLChartExportPropertyMapper::handleSpecialItem(
break;
default:
- bHandled = sal_False;
+ bHandled = false;
break;
}
@@ -532,7 +532,7 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
const SvXMLNamespaceMap& rNamespaceMap ) const
{
sal_Int32 nContextId = maPropMapper->GetEntryContextId( rProperty.mnIndex );
- sal_Bool bRet = (nContextId != 0);
+ bool bRet = (nContextId != 0);
if( nContextId )
{
@@ -648,7 +648,7 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
break;
default:
- bRet = sal_False;
+ bRet = false;
break;
}
}