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/style/styleexp.cxx | |
parent | 42bfd486a457d327f640263ccc3ee02a380f3566 (diff) |
xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r-- | xmloff/source/style/styleexp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 3f94f3d819ee..a8166c58cbd8 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -124,7 +124,7 @@ bool XMLStyleExport::exportStyle( if ( xPropSetInfo->hasPropertyByName( "Hidden" ) ) { aAny = xPropSet->getPropertyValue( "Hidden" ); - sal_Bool bHidden = sal_False; + bool bHidden = false; if ( ( aAny >>= bHidden ) && bHidden && GetExport( ).getDefaultVersion( ) == SvtSaveOptions::ODFVER_LATEST ) GetExport( ).AddAttribute( XML_NAMESPACE_STYLE, XML_HIDDEN, "true" ); } @@ -396,7 +396,7 @@ void XMLStyleExport::exportStyleFamily( // the next style may be unused but has to be exported, too. In this case // the names of all exported styles are remembered. boost::scoped_ptr<std::set<OUString> > pExportedStyles(0); - sal_Bool bFirstStyle = sal_True; + bool bFirstStyle = true; const uno::Sequence< OUString> aSeq = xStyleCont->getElementNames(); const OUString* pIter = aSeq.getConstArray(); @@ -422,7 +422,7 @@ void XMLStyleExport::exportStyleFamily( { if( !bUsed || xStyle->isInUse() ) { - sal_Bool bExported = exportStyle( xStyle, rXMLFamily, rPropMapper, + bool bExported = exportStyle( xStyle, rXMLFamily, rPropMapper, xStyleCont,pPrefix ); if( bUsed && bFirstStyle && bExported ) { @@ -434,7 +434,7 @@ void XMLStyleExport::exportStyleFamily( if( xPropSetInfo->hasPropertyByName( sFollowStyle ) ) pExportedStyles.reset(new std::set<OUString>()); - bFirstStyle = sal_False; + bFirstStyle = false; } if( pExportedStyles && bExported ) |