diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 09:59:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 12:33:19 +0000 |
commit | 0aab188892b8e4b5e9f8c88dbd22ba6f1bc4d9dd (patch) | |
tree | 4beb3aa2dc750fb76625beeb6750d3e9d291045f /scaddins | |
parent | 65f8ce6d94e7fc4583f5c62980d63e1a329af7c8 (diff) |
coverity#1019315 Dead default in switch
Change-Id: Iaac33534d5035ded00115f7a75e2c8720ccc3ea5
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 6e8643a4b1cd..bf13aadeb508 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -600,8 +600,6 @@ double GetYearFrac( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDat case 3: // 3=exact/365 nDaysInYear = 365; break; - default: - throw lang::IllegalArgumentException(); } return double( nDayDiff ) / nDaysInYear; |