summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextMasterPageContext.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/text/XMLTextMasterPageContext.cxx
parent42bfd486a457d327f640263ccc3ee02a380f3566 (diff)
xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
Diffstat (limited to 'xmloff/source/text/XMLTextMasterPageContext.cxx')
-rw-r--r--xmloff/source/text/XMLTextMasterPageContext.cxx18
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;
}