[Libreoffice-commits] core.git: connectivity/source

Caolán McNamara caolanm at redhat.com
Thu May 12 11:23:04 UTC 2016


 connectivity/source/parse/sqlnode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 92c4c76f55049ed888fa9b4c2fba6b88f18e4cc5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 12 12:22:16 2016 +0100

    fall-through->SAL_FALLTHROUGH
    
    Change-Id: I91ed1614162f3b7de13a0fe4ce1af689dce21510

diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 955cf2d..bf88799 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -1966,7 +1966,7 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool
             {
             default:
                 assert(false && "OSQLParseNode::negateSearchCondition: unexpected node type!");
-                // fall-through
+                SAL_FALLTHROUGH;
             case SQLNodeType::Equal:
                 pNewComparison = new OSQLParseNode(OUString("<>"),SQLNodeType::NotEqual,SQL_NOTEQUAL);
                 break;


More information about the Libreoffice-commits mailing list