diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-27 17:24:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-31 12:36:54 +0200 |
commit | ddb07081da099a392b1cdcbb8716afb6af43e006 (patch) | |
tree | be0017dab7a3996402c33bad613dd601e22c27b5 /xmloff/source/style/XMLPageExport.cxx | |
parent | 3f60a32aa2413ca67eb243a3ba91abd3327a07b3 (diff) |
xmloff: sal_Bool->bool
Change-Id: I1deb10cb1581137ab92e73367e63339822a9a094
Diffstat (limited to 'xmloff/source/style/XMLPageExport.cxx')
-rw-r--r-- | xmloff/source/style/XMLPageExport.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx index b095ee6b6df2..7335548eebda 100644 --- a/xmloff/source/style/XMLPageExport.cxx +++ b/xmloff/source/style/XMLPageExport.cxx @@ -40,7 +40,7 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::beans; using namespace ::xmloff::token; -sal_Bool XMLPageExport::findPageMasterName( const OUString& rStyleName, OUString& rPMName ) const +bool XMLPageExport::findPageMasterName( const OUString& rStyleName, OUString& rPMName ) const { for( ::std::vector< XMLPageExportNameEntry >::const_iterator pEntry = aNameVector.begin(); pEntry != aNameVector.end(); ++pEntry ) @@ -48,10 +48,10 @@ sal_Bool XMLPageExport::findPageMasterName( const OUString& rStyleName, OUString if( pEntry->sStyleName == rStyleName ) { rPMName = pEntry->sPageMasterName; - return sal_True; + return true; } } - return sal_False; + return false; } void XMLPageExport::collectPageMasterAutoStyle( @@ -79,9 +79,9 @@ void XMLPageExport::exportMasterPageContent( } -sal_Bool XMLPageExport::exportStyle( +bool XMLPageExport::exportStyle( const Reference< XStyle >& rStyle, - sal_Bool bAutoStyles ) + bool bAutoStyles ) { Reference< XPropertySet > xPropSet( rStyle, UNO_QUERY ); Reference< XPropertySetInfo > xPropSetInfo = xPropSet->getPropertySetInfo(); @@ -92,7 +92,7 @@ sal_Bool XMLPageExport::exportStyle( { Any aAny = xPropSet->getPropertyValue( sIsPhysical ); if( !*(sal_Bool *)aAny.getValue() ) - return sal_False; + return false; } if( bAutoStyles ) @@ -146,7 +146,7 @@ sal_Bool XMLPageExport::exportStyle( exportMasterPageContent( xPropSet, false ); } - return sal_True; + return true; } XMLPageExport::XMLPageExport( SvXMLExport& rExp ) : @@ -192,7 +192,7 @@ XMLPageExport::~XMLPageExport() { } -void XMLPageExport::exportStyles( sal_Bool bUsed, sal_Bool bAutoStyles ) +void XMLPageExport::exportStyles( bool bUsed, bool bAutoStyles ) { if( xPageStyles.is() ) { |