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/transform/MergeElemTContext.cxx | |
parent | 42bfd486a457d327f640263ccc3ee02a380f3566 (diff) |
xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
Diffstat (limited to 'xmloff/source/transform/MergeElemTContext.cxx')
-rw-r--r-- | xmloff/source/transform/MergeElemTContext.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/transform/MergeElemTContext.cxx b/xmloff/source/transform/MergeElemTContext.cxx index 2f19b9352e20..404d25ffcccb 100644 --- a/xmloff/source/transform/MergeElemTContext.cxx +++ b/xmloff/source/transform/MergeElemTContext.cxx @@ -84,7 +84,7 @@ XMLTransformerContext *XMLParagraphTransformerContext::CreateChildContext( XMLTransformerContext *pContext = 0; pContext = new XMLIgnoreTransformerContext( GetTransformer(), - rQName, sal_True ); + rQName, true ); return pContext; } @@ -156,7 +156,7 @@ void XMLMergeElemTransformerContext::ExportStartElement() } XMLTransformerContext::StartElement( m_xAttrList ); - m_bStartElementExported = sal_True; + m_bStartElementExported = true; } XMLMergeElemTransformerContext::XMLMergeElemTransformerContext( @@ -165,7 +165,7 @@ XMLMergeElemTransformerContext::XMLMergeElemTransformerContext( sal_uInt16 nActionMap ) : XMLTransformerContext( rImp, rQName ), m_nActionMap( nActionMap ), - m_bStartElementExported( sal_False ) + m_bStartElementExported( false ) { } @@ -177,7 +177,7 @@ void XMLMergeElemTransformerContext::StartElement( const Reference< XAttributeList >& rAttrList ) { XMLMutableAttributeList *pMutableAttrList = - new XMLMutableAttributeList( rAttrList, sal_True ); + new XMLMutableAttributeList( rAttrList, true ); m_xAttrList = pMutableAttrList; sal_Int16 nAttrCount = m_xAttrList.is() ? m_xAttrList->getLength() : 0; @@ -188,17 +188,17 @@ void XMLMergeElemTransformerContext::StartElement( sal_uInt16 nPrefix = GetTransformer().GetNamespaceMap().GetKeyByAttrName( rAttrName, &aLocalName ); - sal_Bool bRemove = sal_True; + bool bRemove = true; if( XML_NAMESPACE_OFFICE == nPrefix) { if (IsXMLToken( aLocalName, XML_DISPLAY ) ) - bRemove = sal_False; + bRemove = false; else if (IsXMLToken( aLocalName, XML_AUTHOR ) ) - bRemove = sal_False; + bRemove = false; else if (IsXMLToken( aLocalName, XML_CREATE_DATE ) ) - bRemove = sal_False; + bRemove = false; else if (IsXMLToken( aLocalName, XML_CREATE_DATE_STRING ) ) - bRemove = sal_False; + bRemove = false; } if (bRemove) { |