summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-06 11:49:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-19 17:55:07 +0200
commitb8309c0881a9fa78b30458368515e40f2b751ce5 (patch)
tree552492a1dcc073adcb4880d56f6e61a62b1b346e /sc/source/core/data
parentff93fd23394039b6887b0552cdd3aa803e393f6b (diff)
warning C4702: unreachable code
Change-Id: Ie9544ef452d7b9852bd2c31af1cb42035e5c827b (cherry picked from commit 5fc1d590e7e57b15eab64770880a52e44c5cca71)
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/conditio.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index 7a345ed254b2..feb3f76d25b0 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -66,7 +66,6 @@ bool ScFormatEntry::operator==( const ScFormatEntry& r ) const
{
case condformat::CONDITION:
return static_cast<const ScCondFormatEntry&>(*this) == static_cast<const ScCondFormatEntry&>(r);
- break;
default:
// TODO: implement also this case
// actually return false for these cases is not that bad
@@ -74,8 +73,6 @@ bool ScFormatEntry::operator==( const ScFormatEntry& r ) const
// to think about the range
return false;
}
-
- return true;
}
bool lcl_HasRelRef( ScDocument* pDoc, ScTokenArray* pFormula, sal_uInt16 nRecursion = 0 )