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 | |
parent | f44024d1a065005bcbc991525df059cd86bc2363 (diff) |
sal_Bool->bool
Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/XMLFootnoteConfigurationImportContext.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/XMLShapeStyleContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/ximpstyl.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/prstylei.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlstyle.cxx | 6 | ||||
-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 |
11 files changed, 18 insertions, 18 deletions
diff --git a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx index 2822538c1c17..1dc354aa55dd 100644 --- a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx +++ b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx @@ -95,7 +95,7 @@ public: /* Move code from <CreateAndInsertLate(..)> to <Finish(..)>, because at this time all styles it references have been set. (#i40579#) */ - virtual void Finish( sal_Bool bOverwrite); + virtual void Finish( bool bOverwrite); /// set configuration at document void ProcessSettings( diff --git a/xmloff/source/draw/XMLShapeStyleContext.cxx b/xmloff/source/draw/XMLShapeStyleContext.cxx index 794c102226fa..0eac5f4fb24d 100644 --- a/xmloff/source/draw/XMLShapeStyleContext.cxx +++ b/xmloff/source/draw/XMLShapeStyleContext.cxx @@ -304,7 +304,7 @@ void XMLShapeStyleContext::FillPropertySet( const Reference< beans::XPropertySet } } -void XMLShapeStyleContext::Finish( sal_Bool /*bOverwrite*/ ) +void XMLShapeStyleContext::Finish( bool /*bOverwrite*/ ) { } diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index a210fee3be51..e148ba143718 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -147,7 +147,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - virtual void Finish( sal_Bool bOverwrite ); + virtual void Finish( bool bOverwrite ); // #i35918# virtual void FillPropertySet( @@ -198,7 +198,7 @@ SvXMLImportContext *SdXMLDrawingPageStyleContext::CreateChildContext( return pContext; } -void SdXMLDrawingPageStyleContext::Finish( sal_Bool bOverwrite ) +void SdXMLDrawingPageStyleContext::Finish( bool bOverwrite ) { XMLPropStyleContext::Finish( bOverwrite ); diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index b0c9ade38fb7..805da8573fbf 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -329,7 +329,7 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite ) } } -void XMLPropStyleContext::Finish( sal_Bool bOverwrite ) +void XMLPropStyleContext::Finish( bool bOverwrite ) { if( mxStyle.is() && (IsNew() || bOverwrite) ) { diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 5224b3084542..0b9c2d918ee1 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1707,7 +1707,7 @@ sal_Int32 SvXMLNumFormatContext::CreateAndInsert(SvNumberFormatter* pFormatter) return nKey; } -void SvXMLNumFormatContext::Finish( sal_Bool bOverwrite ) +void SvXMLNumFormatContext::Finish( bool bOverwrite ) { SvXMLStyleContext::Finish( bOverwrite ); } diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index 00a43032a5ab..252fc9a85006 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -193,7 +193,7 @@ void SvXMLStyleContext::CreateAndInsertLate( sal_Bool /*bOverwrite*/ ) { } -void SvXMLStyleContext::Finish( sal_Bool /*bOverwrite*/ ) +void SvXMLStyleContext::Finish( bool /*bOverwrite*/ ) { } @@ -547,9 +547,9 @@ SvXMLStyleContext *SvXMLStylesContext::CreateDefaultStyleStyleChildContext( return 0; } -sal_Bool SvXMLStylesContext::InsertStyleFamily( sal_uInt16 ) const +bool SvXMLStylesContext::InsertStyleFamily( sal_uInt16 ) const { - return sal_True; + return true; } sal_uInt16 SvXMLStylesContext::GetFamily( const OUString& rValue ) const 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 ); |