summaryrefslogtreecommitdiff
path: root/scaddins/source/analysis/analysisdefs.hxx
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2001-09-26 08:51:58 +0000
committerDaniel Rentz <dr@openoffice.org>2001-09-26 08:51:58 +0000
commitf5b732c43a9ed9ace11412d85dacd96d849fcde1 (patch)
tree1dcf7e58e67c7ea1fb55b4fc9072a51aae3817e1 /scaddins/source/analysis/analysisdefs.hxx
parentb4a5f75e3fbdd9495024334c5000b6ffdaa4ea9f (diff)
#89901# check all double results on overrun
Diffstat (limited to 'scaddins/source/analysis/analysisdefs.hxx')
-rw-r--r--scaddins/source/analysis/analysisdefs.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/scaddins/source/analysis/analysisdefs.hxx b/scaddins/source/analysis/analysisdefs.hxx
index 0ae62574d572..2fb729cb11e2 100644
--- a/scaddins/source/analysis/analysisdefs.hxx
+++ b/scaddins/source/analysis/analysisdefs.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: analysisdefs.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: gt $ $Date: 2001-06-18 13:00:32 $
+ * last change: $Author: dr $ $Date: 2001-09-26 09:51:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -79,7 +79,9 @@
#define THROWDEF_RTE_IAE throw(CSS::uno::RuntimeException,CSS::lang::IllegalArgumentException)
#define THROW_IAE throw CSS::lang::IllegalArgumentException()
-#define CHK_Freq ( nFreq != 1 && nFreq != 2 && nFreq != 4 )
+#define CHK_Freq ( nFreq != 1 && nFreq != 2 && nFreq != 4 )
+#define CHK_FINITE(d) if( !SOMA_FINITE( d ) ) THROW_IAE
+#define RETURN_FINITE(d) if( SOMA_FINITE( d ) ) return d; else THROW_IAE
#endif