diff options
Diffstat (limited to 'scaddins/source')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 4 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 3 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 1dc310b01f59..9e7e8efd62d7 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -598,7 +598,7 @@ double GetYearFrac( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDat case 3: // 3=exact/365 nDaysInYear = 365; break; - //coverity[dead_error_begin] - condition exists to avoid compiler warning + // coverity[dead_error_begin] - following conditions exist to avoid compiler warning default: throw lang::IllegalArgumentException(); } @@ -928,7 +928,7 @@ bool ParseDouble( const sal_Unicode*& rp, double& rRet ) else eS = S_End; break; - //coverity[dead_error_begin] - condition exists to avoid compiler warning + // coverity[dead_error_begin] - following conditions exist to avoid compiler warning case S_End: break; } diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index e24f65cad031..df62929197d8 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -429,7 +429,8 @@ OUString SAL_CALL ScaDateAddIn::getProgrammaticCategoryName( case ScaCat_Inf: aRet = STR_FROM_ANSI( "Information" ); break; case ScaCat_Math: aRet = STR_FROM_ANSI( "Mathematical" ); break; case ScaCat_Tech: aRet = STR_FROM_ANSI( "Technical" ); break; - default: // to prevent compiler warnings + // coverity[dead_error_begin] - following conditions exist to avoid compiler warning + default: break; } } diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 772f1e36626a..8da57250bddc 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -438,7 +438,8 @@ OUString SAL_CALL ScaPricingAddIn::getProgrammaticCategoryName( case ScaCat_Inf: aRet = STR_FROM_ANSI( "Information" ); break; case ScaCat_Math: aRet = STR_FROM_ANSI( "Mathematical" ); break; case ScaCat_Tech: aRet = STR_FROM_ANSI( "Technical" ); break; - default: // to prevent compiler warnings + // coverity[dead_error_begin] - following conditions exist to avoid compiler warning + default: break; } } |