summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLPageExport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-07 16:42:18 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 09:02:31 +0200
commit8a81f542a6ca566661305c53899b7e422cbaa432 (patch)
treeb70ce405aab1c29856fa824493a664ba8ba27596 /xmloff/source/style/XMLPageExport.cxx
parent42bfd486a457d327f640263ccc3ee02a380f3566 (diff)
xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
Diffstat (limited to 'xmloff/source/style/XMLPageExport.cxx')
-rw-r--r--xmloff/source/style/XMLPageExport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx
index a79f2b6f83a9..4cc26f994ad2 100644
--- a/xmloff/source/style/XMLPageExport.cxx
+++ b/xmloff/source/style/XMLPageExport.cxx
@@ -114,7 +114,7 @@ bool XMLPageExport::exportStyle(
if ( xPropSetInfo->hasPropertyByName( "Hidden" ) )
{
uno::Any aValue = xPropSet->getPropertyValue( "Hidden" );
- sal_Bool bHidden = sal_False;
+ bool bHidden = false;
if ( ( aValue >>= bHidden ) && bHidden && GetExport( ).getDefaultVersion( ) == SvtSaveOptions::ODFVER_LATEST )
GetExport( ).AddAttribute( XML_NAMESPACE_STYLE, XML_HIDDEN, "true" );
}
@@ -231,7 +231,7 @@ void XMLPageExport::exportDefaultStyle()
::std::vector< XMLPropertyState > xPropStates =
xPageMasterExportPropMapper->FilterDefaults( xPropSet );
- sal_Bool bExport = sal_False;
+ bool bExport = false;
UniReference < XMLPropertySetMapper > aPropMapper(xPageMasterExportPropMapper->getPropertySetMapper());
for( ::std::vector< XMLPropertyState >::iterator aIter = xPropStates.begin(); aIter != xPropStates.end(); ++aIter )
{
@@ -239,7 +239,7 @@ void XMLPageExport::exportDefaultStyle()
sal_Int16 nContextId = aPropMapper->GetEntryContextId( pProp->mnIndex );
if( nContextId == CTF_PM_STANDARD_MODE )
{
- bExport = sal_True;
+ bExport = true;
break;
}
}