[Libreoffice-commits] core.git: connectivity/source
Tor Lillqvist
tml at collabora.com
Mon Jul 7 03:25:40 PDT 2014
connectivity/source/parse/sqlnode.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 4e549156ef63b08965ed0271b6506479483bef4c
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Jul 7 13:20:54 2014 +0300
WaE: enumeration values not handled in switch
The previous commit to this file removed the default: case, so add it back
(even if doing nothing now).
Change-Id: Idc02818a30216dda0d64fddf21188de5766672e2
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index a80e8d4..0f64267 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -1993,6 +1993,8 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool
case SQL_NODE_NOTEQUAL:
pNewComparison = new OSQLParseNode(OUString("="),SQL_NODE_EQUAL,SQL_EQUAL);
break;
+ default:
+ break;
}
assert(pNewComparison && "OSQLParseNode::negateSearchCondition: unexpected node type!");
pSearchCondition->replace(pComparison, pNewComparison);
More information about the Libreoffice-commits
mailing list