summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-28 21:07:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-28 22:48:11 +0200
commitb56108b3fb8e7e2a6d2650920c8fda3586a040d5 (patch)
treef1b29b1abefcda414f4f55c46c416b4b28ea3365 /sc/source/filter/xml/XMLDetectiveContext.cxx
parent0294fa0ea81ab4b9625e5e8f0513ce94ea3217d7 (diff)
some additional sal_Bool -> bool in sc/source/filter/xml
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index 812b66b345f5..a0b1d2f434d3 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.cxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.cxx
@@ -59,7 +59,7 @@ ScMyImpDetectiveObj::ScMyImpDetectiveObj() :
//___________________________________________________________________
-sal_Bool ScMyImpDetectiveOp::operator<(const ScMyImpDetectiveOp& rDetOp) const
+bool ScMyImpDetectiveOp::operator<(const ScMyImpDetectiveOp& rDetOp) const
{
return (nIndex < rDetOp.nIndex);
}
@@ -69,14 +69,14 @@ void ScMyImpDetectiveOpArray::Sort()
aDetectiveOpList.sort();
}
-sal_Bool ScMyImpDetectiveOpArray::GetFirstOp( ScMyImpDetectiveOp& rDetOp )
+bool ScMyImpDetectiveOpArray::GetFirstOp( ScMyImpDetectiveOp& rDetOp )
{
if( aDetectiveOpList.empty() )
return false;
ScMyImpDetectiveOpList::iterator aItr = aDetectiveOpList.begin();
rDetOp = *aItr;
aDetectiveOpList.erase( aItr );
- return sal_True;
+ return true;
}
@@ -195,7 +195,7 @@ void ScXMLDetectiveHighlightedContext::EndElement()
break;
case SC_DETOBJ_FROMOTHERTAB:
case SC_DETOBJ_CIRCLE:
- bValid = sal_True;
+ bValid = true;
break;
default:
bValid = false;