summaryrefslogtreecommitdiff
path: root/scaddins/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-29 22:26:58 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-12-01 14:56:43 +0100
commit107399d684bae9e58f5e4020f15eb8a689f1db82 (patch)
treed4acfa1fab53bf624a245f893fcca6221b56230c /scaddins/source
parent9c94bae963ef5019f6ca0394d076b1288969aa53 (diff)
tdf#42949 Fix new IWYU warnings in directories s*
Except recently checked sc, sd, svx, sw Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ice1b86628e4f22a39f307b9c5fa567b6ab9d5acb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106917 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'scaddins/source')
-rw-r--r--scaddins/source/analysis/analysis.cxx3
-rw-r--r--scaddins/source/analysis/analysisdefs.hxx3
-rw-r--r--scaddins/source/analysis/financial.cxx1
-rw-r--r--scaddins/source/datefunc/datefunc.cxx1
-rw-r--r--scaddins/source/pricing/pricing.cxx4
5 files changed, 4 insertions, 8 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index 9db4d55fee6f..6fb4e9b958ff 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -20,12 +20,9 @@
#include "analysisdefs.hxx"
#include "analysis.hxx"
#include "bessel.hxx"
-#include <cppuhelper/factory.hxx>
-#include <comphelper/processfactory.hxx>
#include <comphelper/random.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <o3tl/any.hxx>
#include <rtl/math.hxx>
#include <sal/macros.h>
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;
diff --git a/scaddins/source/analysis/financial.cxx b/scaddins/source/analysis/financial.cxx
index cf41b268eed7..a10696bfdefb 100644
--- a/scaddins/source/analysis/financial.cxx
+++ b/scaddins/source/analysis/financial.cxx
@@ -21,7 +21,6 @@
#include "analysis.hxx"
#include "analysishelper.hxx"
#include <o3tl/temporary.hxx>
-#include <rtl/math.hxx>
using namespace sca::analysis;
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 995db6235300..232fa9bb1d52 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -24,7 +24,6 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <rtl/ustrbuf.hxx>
#include <unotools/resmgr.hxx>
#include <i18nlangtag/languagetag.hxx>
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx
index 569e396c43da..026487a4e472 100644
--- a/scaddins/source/pricing/pricing.cxx
+++ b/scaddins/source/pricing/pricing.cxx
@@ -30,10 +30,8 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include <iostream>
#include <algorithm>
-#include <rtl/math.hxx>
+#include <cmath>
#include <unotools/resmgr.hxx>
#include <i18nlangtag/languagetag.hxx>