diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-07 16:42:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-15 09:02:31 +0200 |
commit | 8a81f542a6ca566661305c53899b7e422cbaa432 (patch) | |
tree | b70ce405aab1c29856fa824493a664ba8ba27596 /xmloff/source/text/XMLTextMasterPageContext.cxx | |
parent | 42bfd486a457d327f640263ccc3ee02a380f3566 (diff) |
xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
Diffstat (limited to 'xmloff/source/text/XMLTextMasterPageContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextMasterPageContext.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx index 7eeeeadfd083..28d0faf2b14f 100644 --- a/xmloff/source/text/XMLTextMasterPageContext.cxx +++ b/xmloff/source/text/XMLTextMasterPageContext.cxx @@ -127,7 +127,7 @@ XMLTextMasterPageContext::XMLTextMasterPageContext( SvXMLImport& rImport, return; Any aAny; - sal_Bool bNew = sal_False; + bool bNew = false; if( xPageStyles->hasByName( sDisplayName ) ) { aAny = xPageStyles->getByName( sDisplayName ); @@ -141,7 +141,7 @@ XMLTextMasterPageContext::XMLTextMasterPageContext( SvXMLImport& rImport, aAny <<= xStyle; xPageStyles->insertByName( sDisplayName, aAny ); - bNew = sal_True; + bNew = true; } Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY ); @@ -183,38 +183,38 @@ SvXMLImportContext *XMLTextMasterPageContext::CreateChildContext( const SvXMLTokenMap& rTokenMap = GetImport().GetTextImport()->GetTextMasterPageElemTokenMap(); - sal_Bool bInsert = sal_False, bFooter = sal_False, bLeft = sal_False, bFirst = sal_False; + bool bInsert = false, bFooter = false, bLeft = false, bFirst = false; switch( rTokenMap.Get( nPrefix, rLocalName ) ) { case XML_TOK_TEXT_MP_HEADER: if( bInsertHeader && !bHeaderInserted ) { - bInsert = sal_True; + bInsert = true; bHeaderInserted = true; } break; case XML_TOK_TEXT_MP_FOOTER: if( bInsertFooter && !bFooterInserted ) { - bInsert = bFooter = sal_True; + bInsert = bFooter = true; bFooterInserted = true; } break; case XML_TOK_TEXT_MP_HEADER_LEFT: if( bInsertHeaderLeft && bHeaderInserted && !bHeaderLeftInserted ) - bInsert = bLeft = sal_True; + bInsert = bLeft = true; break; case XML_TOK_TEXT_MP_FOOTER_LEFT: if( bInsertFooterLeft && bFooterInserted && !bFooterLeftInserted ) - bInsert = bFooter = bLeft = sal_True; + bInsert = bFooter = bLeft = true; break; case XML_TOK_TEXT_MP_HEADER_FIRST: if( bInsertHeaderFirst && bHeaderInserted && !bHeaderFirstInserted ) - bInsert = bFirst = sal_True; + bInsert = bFirst = true; break; case XML_TOK_TEXT_MP_FOOTER_FIRST: if( bInsertFooterFirst && bFooterInserted && !bFooterFirstInserted ) - bInsert = bFooter = bFirst = sal_True; + bInsert = bFooter = bFirst = true; break; } |