summaryrefslogtreecommitdiff
path: root/xmloff/source/style/csmaphdl.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-16 15:06:48 +0200
committerEike Rathke <erack@redhat.com>2013-09-16 15:08:18 +0200
commit0825d0cb76a84503d77d7e635947e1f4da7e299d (patch)
treef034eb235914b6d600c07d9b9f98744515f66674 /xmloff/source/style/csmaphdl.cxx
parentd6e9bb17675200e12777ed23d0c685fbd2bb4c59 (diff)
sal_Bool to bool
Change-Id: Id32780e5cb565e85f0366a91282ce085ed7d2f3c
Diffstat (limited to 'xmloff/source/style/csmaphdl.cxx')
-rw-r--r--xmloff/source/style/csmaphdl.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/style/csmaphdl.cxx b/xmloff/source/style/csmaphdl.cxx
index ba16e857f0f4..b701f68714c7 100644
--- a/xmloff/source/style/csmaphdl.cxx
+++ b/xmloff/source/style/csmaphdl.cxx
@@ -43,10 +43,10 @@ XMLCaseMapPropHdl::~XMLCaseMapPropHdl()
// nothing to do
}
-sal_Bool XMLCaseMapPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
+bool XMLCaseMapPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
{
sal_uInt16 nVal;
- sal_Bool bRet = SvXMLUnitConverter::convertEnum(
+ bool bRet = SvXMLUnitConverter::convertEnum(
nVal, rStrImpValue, pXML_Casemap_Enum );
if( ( bRet ) )
rValue <<= nVal;
@@ -54,9 +54,9 @@ sal_Bool XMLCaseMapPropHdl::importXML( const OUString& rStrImpValue, uno::Any& r
return bRet;
}
-sal_Bool XMLCaseMapPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const
+bool XMLCaseMapPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
sal_uInt16 nValue = sal_uInt16();
OUStringBuffer aOut;
@@ -78,25 +78,25 @@ XMLCaseMapVariantHdl::~XMLCaseMapVariantHdl()
// nothing to do
}
-sal_Bool XMLCaseMapVariantHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
+bool XMLCaseMapVariantHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
if( IsXMLToken( rStrImpValue, XML_CASEMAP_SMALL_CAPS ) )
{
rValue <<= (sal_Int16)style::CaseMap::SMALLCAPS;
- bRet = sal_True;
+ bRet = true;
}
else if( IsXMLToken( rStrImpValue, XML_CASEMAP_NORMAL ) )
{
rValue <<= (sal_Int16)style::CaseMap::NONE;
- bRet = sal_True;
+ bRet = true;
}
return bRet;
}
-sal_Bool XMLCaseMapVariantHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const
+bool XMLCaseMapVariantHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const
{
sal_uInt16 nValue = sal_uInt16();
OUStringBuffer aOut;