sc/source/core/tool/token.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 0f600f307b28f6e4d1c8063c8c59632c9e809934
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Oct 18 01:14:14 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Oct 18 08:42:24 2024 +0200

    tdf#163486: PVS: remove break
    
    Since 07f8216e5722d2288143367a07f4d567ab060431
    "Create string from token array directly from ScTokenArray. Still WIP."
    
    V622    Consider inspecting the 'switch' statement. It's possible that the 
first 'case' operator is missing.
    
    Change-Id: I5916fb8db4db3a0c238660a35ad1b5d985387292
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175111
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 8d830cfef0b6..6bfdf87611a7 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -5245,7 +5245,6 @@ void appendTokenByType( ScSheetLimits& rLimits, 
sc::TokenStringContext& rCxt, OU
             OpCode eOpErr;
             switch (nErr)
             {
-                break;
                 case FormulaError::DivisionByZero:
                     eOpErr = ocErrDivZero;
                 break;

Reply via email to