summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 12:01:46 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 14:13:24 -0500
commit1e428385d20552a9977c9ab4ca0ef068e3fcdf7c (patch)
treee858ef85f341dfef32ad2e47e3b8d15227a76e2a
parent4f8976be9a04f3967b7e4a11f130f7aee50a56f4 (diff)
sal_Bool to bool.
-rw-r--r--sc/source/filter/excel/excimp8.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 4cd628f78782..f4b3320a9c05 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -577,10 +577,10 @@ void XclImpAutoFilterData::ReadAutoFilter( XclImpStream& rStrm )
rStrm >> nCol >> nFlags;
ScQueryConnect eConn = ::get_flagvalue( nFlags, EXC_AFFLAG_ANDORMASK, SC_OR, SC_AND );
- sal_Bool bTop10 = ::get_flag( nFlags, EXC_AFFLAG_TOP10 );
- sal_Bool bTopOfTop10 = ::get_flag( nFlags, EXC_AFFLAG_TOP10TOP );
- sal_Bool bPercent = ::get_flag( nFlags, EXC_AFFLAG_TOP10PERC );
- sal_uInt16 nCntOfTop10 = nFlags >> 7;
+ bool bTop10 = ::get_flag( nFlags, EXC_AFFLAG_TOP10 );
+ bool bTopOfTop10 = ::get_flag( nFlags, EXC_AFFLAG_TOP10TOP );
+ bool bPercent = ::get_flag( nFlags, EXC_AFFLAG_TOP10PERC );
+ sal_uInt16 nCntOfTop10 = nFlags >> 7;
SCSIZE nCount = aParam.GetEntryCount();
if( bTop10 )
@@ -690,7 +690,7 @@ void XclImpAutoFilterData::ReadAutoFilter( XclImpStream& rStrm )
'A1 AND (B1 OR B2)' in this case, but Calc would do
'(A1 AND B1) OR B2' instead. */
if( (nFirstEmpty > 1) && nE && (eConn == SC_OR) && !bIgnore )
- bHasConflict = sal_True;
+ bHasConflict = true;
if( !bHasConflict && !bIgnore )
{
aEntry.bDoQuery = true;