diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-13 13:54:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 14:15:15 +0200 |
commit | 8b34d05cb13d839d80aca696bf6ba766dd7e28cb (patch) | |
tree | 339d910a54c7e2031888946fb4eee0fd97a9b7de /xmloff/source/text | |
parent | f44024d1a065005bcbc991525df059cd86bc2363 (diff) |
sal_Bool->bool
Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextMasterPageContext.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextMasterStylesContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextShapeStyleContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtstyli.cxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx index 9dd724f8d30b..69bdd8776534 100644 --- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx @@ -332,7 +332,7 @@ SvXMLImportContext *XMLFootnoteConfigurationImportContext::CreateChildContext( } // Rename method <CreateAndInsertLate(..)> to <Finish(..)> (#i40597#) -void XMLFootnoteConfigurationImportContext::Finish( sal_Bool bOverwrite ) +void XMLFootnoteConfigurationImportContext::Finish( bool bOverwrite ) { if (bOverwrite) diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx index 8c7b0632693b..d4e90b404a70 100644 --- a/xmloff/source/text/XMLTextMasterPageContext.cxx +++ b/xmloff/source/text/XMLTextMasterPageContext.cxx @@ -237,9 +237,9 @@ SvXMLImportContext *XMLTextMasterPageContext::CreateHeaderFooterContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList, - const sal_Bool bFooter, - const sal_Bool bLeft, - const sal_Bool bFirst ) + const bool bFooter, + const bool bLeft, + const bool bFirst ) { Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); return new XMLTextHeaderFooterContext( GetImport(), @@ -249,7 +249,7 @@ SvXMLImportContext *XMLTextMasterPageContext::CreateHeaderFooterContext( bFooter, bLeft, bFirst ); } -void XMLTextMasterPageContext::Finish( sal_Bool bOverwrite ) +void XMLTextMasterPageContext::Finish( bool bOverwrite ) { if( xStyle.is() && (IsNew() || bOverwrite) ) { diff --git a/xmloff/source/text/XMLTextMasterStylesContext.cxx b/xmloff/source/text/XMLTextMasterStylesContext.cxx index 2d7185175aab..d51d4fa0ca91 100644 --- a/xmloff/source/text/XMLTextMasterStylesContext.cxx +++ b/xmloff/source/text/XMLTextMasterStylesContext.cxx @@ -33,9 +33,9 @@ using ::xmloff::token::XML_MASTER_PAGE; TYPEINIT1( XMLTextMasterStylesContext, SvXMLStylesContext ); -sal_Bool XMLTextMasterStylesContext::InsertStyleFamily( sal_uInt16 ) const +bool XMLTextMasterStylesContext::InsertStyleFamily( sal_uInt16 ) const { - return sal_True; + return true; } XMLTextMasterStylesContext::XMLTextMasterStylesContext( diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index 0b9b69f38e60..11747f1176ce 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -227,7 +227,7 @@ void XMLTextShapeStyleContext::CreateAndInsert( sal_Bool bOverwrite ) } } -void XMLTextShapeStyleContext::Finish( sal_Bool bOverwrite ) +void XMLTextShapeStyleContext::Finish( bool bOverwrite ) { XMLPropStyleContext::Finish( bOverwrite ); } diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index 49b9a564722c..4388a72a373e 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -264,7 +264,7 @@ void XMLTextStyleContext::SetDefaults( ) } } -void XMLTextStyleContext::Finish( sal_Bool bOverwrite ) +void XMLTextStyleContext::Finish( bool bOverwrite ) { XMLPropStyleContext::Finish( bOverwrite ); |