diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-28 21:07:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-28 22:48:11 +0200 |
commit | b56108b3fb8e7e2a6d2650920c8fda3586a040d5 (patch) | |
tree | f1b29b1abefcda414f4f55c46c416b4b28ea3365 /sc/source/filter/xml/XMLStylesImportHelper.hxx | |
parent | 0294fa0ea81ab4b9625e5e8f0513ce94ea3217d7 (diff) |
some additional sal_Bool -> bool in sc/source/filter/xml
Diffstat (limited to 'sc/source/filter/xml/XMLStylesImportHelper.hxx')
-rw-r--r-- | sc/source/filter/xml/XMLStylesImportHelper.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx index b7f3e18906aa..2d4eab985498 100644 --- a/sc/source/filter/xml/XMLStylesImportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx @@ -56,7 +56,7 @@ struct ScMyStyleNumberFormat struct LessStyleNumberFormat { - sal_Bool operator() (const ScMyStyleNumberFormat& rValue1, const ScMyStyleNumberFormat& rValue2) const + bool operator() (const ScMyStyleNumberFormat& rValue1, const ScMyStyleNumberFormat& rValue2) const { return rValue1.sStyleName < rValue2.sStyleName; } @@ -86,7 +86,7 @@ struct ScMyCurrencyStyle struct LessCurrencyStyle { - sal_Bool operator() (const ScMyCurrencyStyle& rValue1, const ScMyCurrencyStyle& rValue2) const + bool operator() (const ScMyCurrencyStyle& rValue1, const ScMyCurrencyStyle& rValue2) const { return rValue1.sCurrency < rValue2.sCurrency; } @@ -140,7 +140,7 @@ struct ScMyStyle struct LessStyle { - sal_Bool operator() (const ScMyStyle& rValue1, const ScMyStyle& rValue2) const + bool operator() (const ScMyStyle& rValue1, const ScMyStyle& rValue2) const { return rValue1.sStyleName < rValue2.sStyleName; } @@ -163,14 +163,14 @@ class ScMyStylesImportHelper sal_uInt32 nMaxRanges; sal_Int16 nCellType; sal_Int16 nPrevCellType; - sal_Bool bPrevRangeAdded; + bool bPrevRangeAdded; void ResetAttributes(); ScMyStylesSet::iterator GetIterator(const rtl::OUString* pStyleName); void AddDefaultRange(const ScRange& rRange); void AddSingleRange(const ScRange& rRange); void AddRange(); - sal_Bool IsEqual(const rtl::OUString* pFirst, const rtl::OUString* pSecond) + bool IsEqual(const rtl::OUString* pFirst, const rtl::OUString* pSecond) { return ((pFirst && pSecond && pFirst->equals(*pSecond)) || (!pFirst && !pSecond) || |