summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-05 10:15:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-05 14:58:00 +0000
commit12bcfec04fcbe6425e327109ad47cd2b2b80d2bd (patch)
treeb57ac6784ce892defa6d06fd5974318c8ffb6972 /scaddins
parentea272d9fe4bf2dc7419f76e2ddee707d768ccd50 (diff)
markup with event type not checker type
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/analysishelper.cxx4
-rw-r--r--scaddins/source/datefunc/datefunc.cxx3
-rw-r--r--scaddins/source/pricing/pricing.cxx3
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;
}
}