summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/dpcache.cxx')
-rw-r--r--sc/source/core/data/dpcache.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx
index 1226878f4c73..21599335030b 100644
--- a/sc/source/core/data/dpcache.cxx
+++ b/sc/source/core/data/dpcache.cxx
@@ -560,18 +560,18 @@ bool ScDPCache::ValidQuery( SCROW nRow, const ScQueryParam &rParam) const
bool bHasStar = false;
sal_Int32 nIndex;
if (( nIndex = aStr.indexOf('*') ) != -1)
- bHasStar = sal_True;
+ bHasStar = true;
if (bHasStar && (nIndex>0))
{
for (sal_Int32 j=0;(j<nIndex) && (j< aCellStr.getLength()) ; j++)
{
if (aCellStr[j] == aStr[j])
{
- bOk=1;
+ bOk=true;
}
else
{
- bOk=0;
+ bOk=false;
break;
}
}