summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/doubleref.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-31 11:14:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-31 21:25:05 +0000
commit0e2e312ced3503bba1bb69dbc9ec96d170791e14 (patch)
tree080fd266c521dd6fd0f85317e64ae7cc615791ab /sc/source/core/tool/doubleref.cxx
parent530ad1ddcdbc08c4ee1ef6125083895794a98e52 (diff)
WaE: various new gcc 4.6.0 warnings
Diffstat (limited to 'sc/source/core/tool/doubleref.cxx')
-rw-r--r--sc/source/core/tool/doubleref.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/core/tool/doubleref.cxx b/sc/source/core/tool/doubleref.cxx
index 85e0a6a35429..6f9dc6b89fa9 100644
--- a/sc/source/core/tool/doubleref.cxx
+++ b/sc/source/core/tool/doubleref.cxx
@@ -67,7 +67,6 @@ bool lcl_createStarQuery(ScQueryParamBase* pParam, const ScDBRangeBase* pDBRef,
return false;
BOOL bValid;
- BOOL bFound;
OUString aCellStr;
SCSIZE nIndex = 0;
SCROW nRow = 0;
@@ -101,7 +100,6 @@ bool lcl_createStarQuery(ScQueryParamBase* pParam, const ScDBRangeBase* pDBRef,
if ((nIndex < 1) || bValid)
{
// field name in the 2nd column.
- bFound = FALSE;
aCellStr = pQueryRef->getString(1, nRow);
SCCOL nField = pDBRef->findFieldColumn(aCellStr); // TODO: must be case insensitive comparison.
if (ValidCol(nField))
@@ -116,7 +114,6 @@ bool lcl_createStarQuery(ScQueryParamBase* pParam, const ScDBRangeBase* pDBRef,
if (bValid)
{
// equality, non-equality operator in the 3rd column.
- bFound = FALSE;
aCellStr = pQueryRef->getString(2, nRow);
lcl_toUpper(aCellStr);
const sal_Unicode* p = aCellStr.getStr();