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

Michael Stahl mstahl at redhat.com
Tue Jul 2 12:23:06 PDT 2013


 sc/source/core/tool/formularesult.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit fbfacb8ce70910d096ad332a093dbbc5b54ea005
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Jul 2 21:19:42 2013 +0200

    avoid enumeration value ... not handled in switch [-Werror=switch]
    
    Change-Id: I2b608b0c1dfe23509094ef808381a7e7c39c577d

diff --git a/sc/source/core/tool/formularesult.cxx b/sc/source/core/tool/formularesult.cxx
index 72944a0..f5cf8273 100644
--- a/sc/source/core/tool/formularesult.cxx
+++ b/sc/source/core/tool/formularesult.cxx
@@ -273,8 +273,9 @@ bool ScFormulaResult::IsValueNoError() const
         case formula::svEmptyCell:
         case formula::svHybridValueCell:
             return true;
+        default:
+            return false;
     }
-    return false;
 }
 
 bool ScFormulaResult::IsMultiline() const


More information about the Libreoffice-commits mailing list