diff options
Diffstat (limited to 'scaddins/source/analysis/analysisdefs.hxx')
-rw-r--r-- | scaddins/source/analysis/analysisdefs.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scaddins/source/analysis/analysisdefs.hxx b/scaddins/source/analysis/analysisdefs.hxx index 4ee96be9ae0d..fec9ccc3fb87 100644 --- a/scaddins/source/analysis/analysisdefs.hxx +++ b/scaddins/source/analysis/analysisdefs.hxx @@ -20,6 +20,9 @@ #ifndef INCLUDED_SCADDINS_SOURCE_ANALYSIS_ANALYSISDEFS_HXX #define INCLUDED_SCADDINS_SOURCE_ANALYSIS_ANALYSISDEFS_HXX +#include <com/sun/star/lang/IllegalArgumentException.hpp> +#include <cmath> + #define CHK_Freq ( nFreq != 1 && nFreq != 2 && nFreq != 4 ) #define CHK_FINITE(d) if( !std::isfinite( d ) ) throw css::lang::IllegalArgumentException() #define RETURN_FINITE(d) if( !std::isfinite( d ) ) throw css::lang::IllegalArgumentException(); return d; |