diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-16 15:06:48 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-16 15:08:18 +0200 |
commit | 0825d0cb76a84503d77d7e635947e1f4da7e299d (patch) | |
tree | f034eb235914b6d600c07d9b9f98744515f66674 /xmloff/source/style/adjushdl.cxx | |
parent | d6e9bb17675200e12777ed23d0c685fbd2bb4c59 (diff) |
sal_Bool to bool
Change-Id: Id32780e5cb565e85f0366a91282ce085ed7d2f3c
Diffstat (limited to 'xmloff/source/style/adjushdl.cxx')
-rw-r--r-- | xmloff/source/style/adjushdl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/style/adjushdl.cxx b/xmloff/source/style/adjushdl.cxx index b473ac6f338e..7f431b4f8e80 100644 --- a/xmloff/source/style/adjushdl.cxx +++ b/xmloff/source/style/adjushdl.cxx @@ -59,26 +59,26 @@ XMLParaAdjustPropHdl::~XMLParaAdjustPropHdl() // nothing to do } -sal_Bool XMLParaAdjustPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const +bool XMLParaAdjustPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const { sal_uInt16 eAdjust; - sal_Bool bRet = SvXMLUnitConverter::convertEnum( eAdjust, rStrImpValue, pXML_Para_Adjust_Enum ); + bool bRet = SvXMLUnitConverter::convertEnum( eAdjust, rStrImpValue, pXML_Para_Adjust_Enum ); if( bRet ) rValue <<= (sal_Int16)eAdjust; return bRet; } -sal_Bool XMLParaAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const +bool XMLParaAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const { if(!rValue.hasValue()) - return sal_False; + return false; OUStringBuffer aOut; sal_Int16 nVal = 0; rValue >>= nVal; - sal_Bool bRet = SvXMLUnitConverter::convertEnum( aOut, nVal, pXML_Para_Adjust_Enum, XML_START ); + bool bRet = SvXMLUnitConverter::convertEnum( aOut, nVal, pXML_Para_Adjust_Enum, XML_START ); rStrExpValue = aOut.makeStringAndClear(); @@ -94,21 +94,21 @@ XMLLastLineAdjustPropHdl::~XMLLastLineAdjustPropHdl() // nothing to do } -sal_Bool XMLLastLineAdjustPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const +bool XMLLastLineAdjustPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& ) const { sal_uInt16 eAdjust; - sal_Bool bRet = SvXMLUnitConverter::convertEnum( eAdjust, rStrImpValue, pXML_Para_Align_Last_Enum ); + bool bRet = SvXMLUnitConverter::convertEnum( eAdjust, rStrImpValue, pXML_Para_Align_Last_Enum ); if( bRet ) rValue <<= (sal_Int16)eAdjust; return bRet; } -sal_Bool XMLLastLineAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const +bool XMLLastLineAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const { OUStringBuffer aOut; sal_Int16 nVal = 0; - sal_Bool bRet = sal_False; + bool bRet = false; rValue >>= nVal; |