summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx18
-rw-r--r--sc/source/filter/xml/xmlstyli.hxx16
2 files changed, 17 insertions, 17 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)
{
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 865e4d00d974..bf452db576fb 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -197,7 +197,7 @@ protected:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
- virtual sal_Bool InsertStyleFamily( sal_uInt16 nFamily ) const;
+ virtual bool InsertStyleFamily( sal_uInt16 nFamily ) const;
public:
TYPEINFO();
@@ -219,8 +219,8 @@ class ScMasterPageContext : public XMLTextMasterPageContext
{
com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> xPropSet;
const OUString sEmpty;
- sal_Bool bContainsRightHeader;
- sal_Bool bContainsRightFooter;
+ bool bContainsRightHeader;
+ bool bContainsRightFooter;
void ClearContent(const OUString& rContent);
public:
@@ -243,11 +243,11 @@ public:
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 );
- virtual void Finish( sal_Bool bOverwrite );
+ virtual void Finish( bool bOverwrite );
};
class ScCellTextStyleContext : public XMLTextStyleContext
@@ -263,7 +263,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList,
SvXMLStylesContext& rStyles, sal_uInt16 nFamily,
- sal_Bool bDefaultStyle = false );
+ bool bDefaultStyle = false );
virtual ~ScCellTextStyleContext();
// overload FillPropertySet to store style information