summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-14 23:21:02 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-15 00:34:56 -0500
commit690e14ad035e642f4382d20b8b7b792762338126 (patch)
tree3b6b91945e9c43bd048a4e0ec4e83891757dd501 /sc
parent10afa30240edec37a052ee87ff5b5e36c615abcd (diff)
Unused local var.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dptablecache.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/core/data/dptablecache.cxx b/sc/source/core/data/dptablecache.cxx
index ecfab69a1868..5bbef8fe7cf8 100644
--- a/sc/source/core/data/dptablecache.cxx
+++ b/sc/source/core/data/dptablecache.cxx
@@ -607,7 +607,6 @@ bool ScDPCache::ValidQuery( SCROW nRow, const ScQueryParam &rParam) const
const ScDPItemData* pCellData = GetItemDataById( nSourceField, nId );
bool bOk = false;
- bool bTestEqual = false;
if (rEntry.GetQueryItem().meType == ScQueryEntry::ByEmpty)
{
@@ -670,8 +669,6 @@ bool ScDPCache::ValidQuery( SCROW nRow, const ScQueryParam &rParam) const
bMatch = false; // RegExp must match entire cell string
if (bRealRegExp)
bOk = ((rEntry.eOp == SC_NOT_EQUAL) ? !bMatch : bMatch);
- else
- bTestEqual = bMatch;
}
if (!bRealRegExp)
{