diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:58:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:18 +0100 |
commit | fa189d7447a602d1ba3310603a63df582d01bd72 (patch) | |
tree | 9863e9380396626c7b12144fccbff67da7a27ffd /xmloff/source/text | |
parent | 9d1c20259f08cd798a2f197a7ecef1bf6382be3f (diff) |
bool improvements
Change-Id: I238ab0ebe54cc804c85356a3de9fbdcc396057d3
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLChangeElementImportContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtprhdl.cxx | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLChangeElementImportContext.cxx b/xmloff/source/text/XMLChangeElementImportContext.cxx index 7caee502ebfc..3a72c0688143 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.cxx +++ b/xmloff/source/text/XMLChangeElementImportContext.cxx @@ -87,7 +87,7 @@ void XMLChangeElementImportContext::StartElement( const Reference< XAttributeLis { if(bAcceptContent) { - GetImport().GetTextImport()->SetInsideDeleteContext(sal_True); + GetImport().GetTextImport()->SetInsideDeleteContext(true); } } @@ -96,7 +96,7 @@ void XMLChangeElementImportContext::EndElement() { if(bAcceptContent) { - GetImport().GetTextImport()->SetInsideDeleteContext(sal_False); + GetImport().GetTextImport()->SetInsideDeleteContext(false); } } diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index d5e1b8ea0c75..dc6c262df585 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -3989,7 +3989,7 @@ SvXMLImportContext* XMLDropDownFieldImportContext::CreateChildContext( IsXMLToken( rLocalName, XML_LABEL ) ) { OUString sLabel; - bool bIsSelected = sal_False; + bool bIsSelected = false; if( lcl_ProcessLabel( GetImport(), xAttrList, sLabel, bIsSelected ) ) { if( bIsSelected ) diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index b122e6604578..8226f14260c5 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -2330,7 +2330,7 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext( if( XML_TEXT_TYPE_BODY == eType && bContent ) { - m_pImpl->m_bBodyContentStarted = sal_False; + m_pImpl->m_bBodyContentStarted = false; } return pContext; diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index eb6575d3f7cf..951fa1f6fd01 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -322,7 +322,7 @@ bool XMLOpaquePropHdl_Impl::importXML( if( IsXMLToken( rStrImpValue, XML_FOREGROUND ) ) bVal = sal_True; else if( !IsXMLToken( rStrImpValue, XML_BACKGROUND ) ) - bRet = sal_False; + bRet = false; if( bRet ) rValue.setValue( &bVal, ::getBooleanCppuType() ); @@ -372,7 +372,7 @@ bool XMLContourModePropHdl_Impl::importXML( if( IsXMLToken( rStrImpValue, XML_OUTSIDE ) ) bVal = sal_True; else if( ! IsXMLToken( rStrImpValue, XML_FULL ) ) - bRet = sal_False; + bRet = false; if( bRet ) rValue.setValue( &bVal, ::getBooleanCppuType() ); |