summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/xmlstyli.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-13 13:54:31 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:15:15 +0200
commit8b34d05cb13d839d80aca696bf6ba766dd7e28cb (patch)
tree339d910a54c7e2031888946fb4eee0fd97a9b7de /sc/source/filter/xml/xmlstyli.cxx
parentsal_Bool->bool (diff)
downloadcore-8b34d05cb13d839d80aca696bf6ba766dd7e28cb.tar.gz
core-8b34d05cb13d839d80aca696bf6ba766dd7e28cb.zip
sal_Bool->bool
Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
Diffstat (limited to 'sc/source/filter/xml/xmlstyli.cxx')
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index bd15eb289712..753177e46858 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -932,9 +932,9 @@ sal_Int32 XMLTableStylesContext::GetIndex(const sal_Int16 nContextID)
// ---------------------------------------------------------------------------
TYPEINIT1( ScXMLMasterStylesContext, SvXMLStylesContext );
-sal_Bool ScXMLMasterStylesContext::InsertStyleFamily( sal_uInt16 ) const
+bool ScXMLMasterStylesContext::InsertStyleFamily( sal_uInt16 ) const
{
- return sal_True;
+ return true;
}
ScXMLMasterStylesContext::ScXMLMasterStylesContext(
@@ -1010,16 +1010,16 @@ SvXMLImportContext *ScMasterPageContext::CreateHeaderFooterContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList,
- const sal_Bool bFooter,
- const sal_Bool bLeft,
- const sal_Bool /*bFirst*/ )
+ const bool bFooter,
+ const bool bLeft,
+ const bool /*bFirst*/ )
{
if (!bLeft)
{
if (bFooter)
- bContainsRightFooter = sal_True;
+ bContainsRightFooter = true;
else
- bContainsRightHeader = sal_True;
+ bContainsRightHeader = true;
}
if (!xPropSet.is())
xPropSet.set(GetStyle(), UNO_QUERY );
@@ -1048,7 +1048,7 @@ void ScMasterPageContext::ClearContent(const OUString& rContent)
}
}
-void ScMasterPageContext::Finish( sal_Bool bOverwrite )
+void ScMasterPageContext::Finish( bool bOverwrite )
{
XMLTextMasterPageContext::Finish(bOverwrite);
if (!bContainsRightFooter)
@@ -1061,7 +1061,7 @@ void ScMasterPageContext::Finish( sal_Bool bOverwrite )
ScCellTextStyleContext::ScCellTextStyleContext( SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName, const uno::Reference<xml::sax::XAttributeList> & xAttrList,
- SvXMLStylesContext& rStyles, sal_uInt16 nFamily, sal_Bool bDefaultStyle ) :
+ SvXMLStylesContext& rStyles, sal_uInt16 nFamily, bool bDefaultStyle ) :
XMLTextStyleContext( rImport, nPrfx, rLName, xAttrList, rStyles, nFamily, bDefaultStyle ),
nLastSheet(-1)
{