[Libreoffice-commits] .: idlc/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 18 01:36:27 PST 2011


 idlc/source/astexpression.cxx |   23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

New commits:
commit 155a5caa36e3cc6df6481e401191ba1fa91fca1f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 18 09:36:15 2011 +0000

    nothing to see here move along, *cough*

diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 76e2a9e..e4a5875 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -813,27 +813,38 @@ sal_Bool AstExpression::operator==(AstExpression *pExpr)
     {
         case ET_short:
             bRet = (m_exprValue->u.sval == pExpr->getExprValue()->u.sval) ? sal_True : sal_False;
+            break;
         case ET_ushort:
             bRet = (m_exprValue->u.usval == pExpr->getExprValue()->u.usval) ? sal_True : sal_False;
+            break;
         case ET_long:
             bRet = (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False;
+            break;
         case ET_ulong:
             bRet = (m_exprValue->u.ulval == pExpr->getExprValue()->u.ulval) ? sal_True : sal_False;
+            break;
         case ET_hyper:
             bRet = (m_exprValue->u.hval == pExpr->getExprValue()->u.hval) ? sal_True : sal_False;
+            break;
         case ET_uhyper:
             bRet = (m_exprValue->u.uhval == pExpr->getExprValue()->u.uhval) ? sal_True : sal_False;
+            break;
         case ET_float:
             bRet = (m_exprValue->u.fval == pExpr->getExprValue()->u.fval) ? sal_True : sal_False;
+            break;
         case ET_double:
             bRet = (m_exprValue->u.dval == pExpr->getExprValue()->u.dval) ? sal_True : sal_False;
+            break;
         case ET_byte:
             bRet = (m_exprValue->u.byval == pExpr->getExprValue()->u.byval) ? sal_True : sal_False;
+            break;
         case ET_boolean:
             bRet = (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False;
+            break;
         default:
             OSL_ASSERT(false);
             bRet = sal_False;
+            break;
     }
 
     return bRet;
@@ -854,29 +865,39 @@ sal_Bool AstExpression::compare(AstExpression *pExpr)
     {
         case ET_short:
             bRet = (m_exprValue->u.sval == pExpr->getExprValue()->u.sval) ? sal_True : sal_False;
+            break;
         case ET_ushort:
             bRet = (m_exprValue->u.usval == pExpr->getExprValue()->u.usval) ? sal_True : sal_False;
+            break;
         case ET_long:
             bRet = (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False;
+            break;
         case ET_ulong:
             bRet = (m_exprValue->u.ulval == pExpr->getExprValue()->u.ulval) ? sal_True : sal_False;
+            break;
         case ET_hyper:
             bRet = (m_exprValue->u.hval == pExpr->getExprValue()->u.hval) ? sal_True : sal_False;
+            break;
         case ET_uhyper:
             bRet = (m_exprValue->u.uhval == pExpr->getExprValue()->u.uhval) ? sal_True : sal_False;
+            break;
         case ET_float:
             bRet = (m_exprValue->u.fval == pExpr->getExprValue()->u.fval) ? sal_True : sal_False;
+            break;
         case ET_double:
             bRet = (m_exprValue->u.dval == pExpr->getExprValue()->u.dval) ? sal_True : sal_False;
+            break;
         case ET_byte:
             bRet = (m_exprValue->u.byval == pExpr->getExprValue()->u.byval) ? sal_True : sal_False;
+            break;
         case ET_boolean:
             bRet = (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False;
+            break;
         default:
             OSL_ASSERT(false);
             bRet = sal_False;
+            break;
     }
-
     return bRet;
 }	
     


More information about the Libreoffice-commits mailing list