From 5fc1d590e7e57b15eab64770880a52e44c5cca71 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 6 Sep 2012 11:49:28 +0200 Subject: warning C4702: unreachable code Change-Id: Ie9544ef452d7b9852bd2c31af1cb42035e5c827b --- sc/source/core/data/conditio.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sc/source') diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 5a0c4832ae59..8fddfe5e0590 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -63,7 +63,6 @@ bool ScFormatEntry::operator==( const ScFormatEntry& r ) const { case condformat::CONDITION: return static_cast(*this) == static_cast(r); - break; default: // TODO: implement also this case // actually return false for these cases is not that bad @@ -71,8 +70,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 ) -- cgit