summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-13 10:51:01 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:15:14 +0200
commitfd3c9e16e1bf0db8cf8d549b864ae35f9ec3aa1e (patch)
tree6481c52876bb9315568c0f4b47037250d4b2ae4a /xmloff
parentc6a526b20f6cf0738831ba38f93028cbc97e160f (diff)
sal_Bool->bool
Change-Id: Ia453c7868e030e3f10a7f69c1e2d28244758fdef
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/XMLPageExport.cxx6
-rw-r--r--xmloff/source/text/XMLTextMasterPageExport.cxx28
2 files changed, 17 insertions, 17 deletions
diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx
index 62b767779f86..b095ee6b6df2 100644
--- a/xmloff/source/style/XMLPageExport.cxx
+++ b/xmloff/source/style/XMLPageExport.cxx
@@ -74,7 +74,7 @@ void XMLPageExport::collectPageMasterAutoStyle(
void XMLPageExport::exportMasterPageContent(
const Reference < XPropertySet > &,
- sal_Bool /*bAutoStyles*/ )
+ bool /*bAutoStyles*/ )
{
}
@@ -102,7 +102,7 @@ sal_Bool XMLPageExport::exportStyle(
aEntry.sStyleName = rStyle->getName();
aNameVector.push_back( aEntry );
- exportMasterPageContent( xPropSet, sal_True );
+ exportMasterPageContent( xPropSet, true );
}
else
{
@@ -143,7 +143,7 @@ sal_Bool XMLPageExport::exportStyle(
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_MASTER_PAGE, sal_True, sal_True );
- exportMasterPageContent( xPropSet, sal_False );
+ exportMasterPageContent( xPropSet, false );
}
return sal_True;
diff --git a/xmloff/source/text/XMLTextMasterPageExport.cxx b/xmloff/source/text/XMLTextMasterPageExport.cxx
index b82cace5934d..8f452940b86d 100644
--- a/xmloff/source/text/XMLTextMasterPageExport.cxx
+++ b/xmloff/source/text/XMLTextMasterPageExport.cxx
@@ -56,7 +56,7 @@ XMLTextMasterPageExport::~XMLTextMasterPageExport()
void XMLTextMasterPageExport::exportHeaderFooterContent(
const Reference< XText >& rText,
- sal_Bool bAutoStyles, sal_Bool bExportParagraph )
+ bool bAutoStyles, bool bExportParagraph )
{
DBG_ASSERT( rText.is(), "There is the text" );
@@ -79,7 +79,7 @@ void XMLTextMasterPageExport::exportHeaderFooterContent(
void XMLTextMasterPageExport::exportMasterPageContent(
const Reference < XPropertySet > & rPropSet,
- sal_Bool bAutoStyles )
+ bool bAutoStyles )
{
Any aAny;
@@ -110,17 +110,17 @@ void XMLTextMasterPageExport::exportMasterPageContent(
if( bAutoStyles )
{
if( xHeaderText.is() )
- exportHeaderFooterContent( xHeaderText, sal_True );
+ exportHeaderFooterContent( xHeaderText, true );
if( xHeaderTextFirst.is() && xHeaderTextFirst != xHeaderText )
- exportHeaderFooterContent( xHeaderTextFirst, sal_True );
+ exportHeaderFooterContent( xHeaderTextFirst, true );
if( xHeaderTextLeft.is() && xHeaderTextLeft != xHeaderText )
- exportHeaderFooterContent( xHeaderTextLeft, sal_True );
+ exportHeaderFooterContent( xHeaderTextLeft, true );
if( xFooterText.is() )
- exportHeaderFooterContent( xFooterText, sal_True );
+ exportHeaderFooterContent( xFooterText, true );
if( xFooterTextFirst.is() && xFooterTextFirst != xFooterText )
- exportHeaderFooterContent( xFooterTextFirst, sal_True );
+ exportHeaderFooterContent( xFooterTextFirst, true );
if( xFooterTextLeft.is() && xFooterTextLeft != xFooterText )
- exportHeaderFooterContent( xFooterTextLeft, sal_True );
+ exportHeaderFooterContent( xFooterTextLeft, true );
}
else
{
@@ -149,7 +149,7 @@ void XMLTextMasterPageExport::exportMasterPageContent(
XML_DISPLAY, XML_FALSE );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_HEADER, sal_True, sal_True );
- exportHeaderFooterContent( xHeaderText, sal_False );
+ exportHeaderFooterContent( xHeaderText, false );
}
if( xHeaderTextFirst.is() && xHeaderTextFirst != xHeaderText )
@@ -159,7 +159,7 @@ void XMLTextMasterPageExport::exportMasterPageContent(
XML_DISPLAY, XML_FALSE );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_HEADER_FIRST, sal_True, sal_True );
- exportHeaderFooterContent( xHeaderTextFirst, sal_False );
+ exportHeaderFooterContent( xHeaderTextFirst, false );
}
if( xHeaderTextLeft.is() && xHeaderTextLeft != xHeaderText )
@@ -169,7 +169,7 @@ void XMLTextMasterPageExport::exportMasterPageContent(
XML_DISPLAY, XML_FALSE );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_HEADER_LEFT, sal_True, sal_True );
- exportHeaderFooterContent( xHeaderTextLeft, sal_False );
+ exportHeaderFooterContent( xHeaderTextLeft, false );
}
aAny = rPropSet->getPropertyValue( sFooterOn );
@@ -197,7 +197,7 @@ void XMLTextMasterPageExport::exportMasterPageContent(
XML_DISPLAY, XML_FALSE );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_FOOTER, sal_True, sal_True );
- exportHeaderFooterContent( xFooterText, sal_False );
+ exportHeaderFooterContent( xFooterText, false );
}
if( xFooterTextFirst.is() && xFooterTextFirst != xFooterText )
@@ -207,7 +207,7 @@ void XMLTextMasterPageExport::exportMasterPageContent(
XML_DISPLAY, XML_FALSE );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_FOOTER_FIRST, sal_True, sal_True );
- exportHeaderFooterContent( xFooterTextFirst, sal_False );
+ exportHeaderFooterContent( xFooterTextFirst, false );
}
if( xFooterTextLeft.is() && xFooterTextLeft != xFooterText )
@@ -217,7 +217,7 @@ void XMLTextMasterPageExport::exportMasterPageContent(
XML_DISPLAY, XML_FALSE );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_FOOTER_LEFT, sal_True, sal_True );
- exportHeaderFooterContent( xFooterTextLeft, sal_False );
+ exportHeaderFooterContent( xFooterTextLeft, false );
}
}
}