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 /sw | |
parent | f44024d1a065005bcbc991525df059cd86bc2363 (diff) |
sal_Bool->bool
Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/xml/xmlfmt.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx index f0bca134e4f9..1f94975c5fd7 100644 --- a/sw/source/filter/xml/xmlfmt.cxx +++ b/sw/source/filter/xml/xmlfmt.cxx @@ -287,7 +287,7 @@ public: const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & xAttrList ); - virtual void Finish( sal_Bool bOverwrite ); + virtual void Finish( bool bOverwrite ); }; TYPEINIT1( SwXMLTextStyleContext_Impl, XMLTextStyleContext ); @@ -371,7 +371,7 @@ SvXMLImportContext *SwXMLTextStyleContext_Impl::CreateChildContext( return pContext; } -void SwXMLTextStyleContext_Impl::Finish( sal_Bool bOverwrite ) +void SwXMLTextStyleContext_Impl::Finish( bool bOverwrite ) { XMLTextStyleContext::Finish( bOverwrite ); @@ -755,7 +755,7 @@ public: sal_Bool bAuto ); virtual ~SwXMLStylesContext_Impl(); - virtual sal_Bool InsertStyleFamily( sal_uInt16 nFamily ) const; + virtual bool InsertStyleFamily( sal_uInt16 nFamily ) const; virtual void EndElement(); }; @@ -848,12 +848,12 @@ SwXMLStylesContext_Impl::~SwXMLStylesContext_Impl() { } -sal_Bool SwXMLStylesContext_Impl::InsertStyleFamily( sal_uInt16 nFamily ) const +bool SwXMLStylesContext_Impl::InsertStyleFamily( sal_uInt16 nFamily ) const { const SwXMLImport& rSwImport = GetSwImport(); sal_uInt16 nStyleFamilyMask = rSwImport.GetStyleFamilyMask(); - sal_Bool bIns = sal_True; + bool bIns = true; switch( nFamily ) { case XML_STYLE_FAMILY_TEXT_PARAGRAPH: @@ -932,7 +932,7 @@ void SwXMLStylesContext_Impl::EndElement() class SwXMLMasterStylesContext_Impl : public XMLTextMasterStylesContext { protected: - virtual sal_Bool InsertStyleFamily( sal_uInt16 nFamily ) const; + virtual bool InsertStyleFamily( sal_uInt16 nFamily ) const; SwXMLImport& GetSwImport() { return (SwXMLImport&)GetImport(); } const SwXMLImport& GetSwImport() const @@ -964,9 +964,9 @@ SwXMLMasterStylesContext_Impl::~SwXMLMasterStylesContext_Impl() { } -sal_Bool SwXMLMasterStylesContext_Impl::InsertStyleFamily( sal_uInt16 nFamily ) const +bool SwXMLMasterStylesContext_Impl::InsertStyleFamily( sal_uInt16 nFamily ) const { - sal_Bool bIns; + bool bIns; const SwXMLImport& rSwImport = GetSwImport(); sal_uInt16 nStyleFamilyMask = rSwImport.GetStyleFamilyMask(); |