From 68eb27e3bd5d536e7b00b7dc145ae4943b95bec9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 13 Dec 2017 21:50:15 +0100 Subject: [PATCH] tools: reimplement SVLIBRARY macro & remove it from solar.h Change-Id: I03f8f5fd656d62410821f2f2851f1c584c97d1f4 --- chart2/source/view/main/AbstractShapeFactory.cxx | 1 + include/tools/solar.h | 10 ---------- include/tools/svlibrary.h | 15 +++++++++++++++ sc/source/ui/attrdlg/scabstdlg.cxx | 1 + sc/source/ui/docshell/impex.cxx | 1 + sd/source/filter/sdfilter.cxx | 1 + sfx2/source/appl/app.cxx | 1 + sfx2/source/appl/appinit.cxx | 1 + sfx2/source/appl/appserv.cxx | 1 + svtools/source/misc/svtaccessiblefactory.cxx | 2 ++ sw/qa/unit/sw-dialogs-test.cxx | 1 + sw/qa/unit/sw-dialogs-test_2.cxx | 1 + sw/source/filter/basflt/fltini.cxx | 1 + toolkit/source/helper/accessibilityclient.cxx | 2 +- vcl/source/filter/FilterConfigCache.cxx | 1 + 15 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 include/tools/svlibrary.h diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx index b340869bddc6..87a09efa1810 100644 --- a/chart2/source/view/main/AbstractShapeFactory.cxx +++ b/chart2/source/view/main/AbstractShapeFactory.cxx @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/include/tools/solar.h b/include/tools/solar.h index d53b20f0e58a..a1b10d6e9f01 100644 --- a/include/tools/solar.h +++ b/include/tools/solar.h @@ -105,16 +105,6 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = reinterpret_cast +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/attrdlg/scabstdlg.cxx b/sc/source/ui/attrdlg/scabstdlg.cxx index 1f268b1af5c4..2829cbf5a833 100644 --- a/sc/source/ui/attrdlg/scabstdlg.cxx +++ b/sc/source/ui/attrdlg/scabstdlg.cxx @@ -22,6 +22,7 @@ #include #include +#include #include typedef ScAbstractDialogFactory* (*ScFuncPtrCreateDialogFactory)(); diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index d2e2899454b7..26208259099d 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -54,6 +54,7 @@ #include #include +#include #include #include diff --git a/sd/source/filter/sdfilter.cxx b/sd/source/filter/sdfilter.cxx index aeb1aec40853..fbcc65e1d6e9 100644 --- a/sd/source/filter/sdfilter.cxx +++ b/sd/source/filter/sdfilter.cxx @@ -22,6 +22,7 @@ #include #include +#include #include #include #include diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index d227a942b3ca..82e1d6394f7b 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index 89c5570a42b8..e190d594d897 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index abb52252ce8b..78f39b318b6b 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -57,6 +57,7 @@ #include #include +#include #include #include #include diff --git a/svtools/source/misc/svtaccessiblefactory.cxx b/svtools/source/misc/svtaccessiblefactory.cxx index a20177785d66..b97384d29866 100644 --- a/svtools/source/misc/svtaccessiblefactory.cxx +++ b/svtools/source/misc/svtaccessiblefactory.cxx @@ -21,6 +21,8 @@ #include +#include + #include namespace svt diff --git a/sw/qa/unit/sw-dialogs-test.cxx b/sw/qa/unit/sw-dialogs-test.cxx index 22c7f4f740d8..f5968d36b7e7 100644 --- a/sw/qa/unit/sw-dialogs-test.cxx +++ b/sw/qa/unit/sw-dialogs-test.cxx @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/sw/qa/unit/sw-dialogs-test_2.cxx b/sw/qa/unit/sw-dialogs-test_2.cxx index 261735c9405c..fe59616aace7 100644 --- a/sw/qa/unit/sw-dialogs-test_2.cxx +++ b/sw/qa/unit/sw-dialogs-test_2.cxx @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx index e99b643480d4..c0c3d992eff0 100644 --- a/sw/source/filter/basflt/fltini.cxx +++ b/sw/source/filter/basflt/fltini.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx index 59044160eac0..ec866fbc6a93 100644 --- a/toolkit/source/helper/accessibilityclient.cxx +++ b/toolkit/source/helper/accessibilityclient.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx index d652093285e5..3f1914cd4a57 100644 --- a/vcl/source/filter/FilterConfigCache.cxx +++ b/vcl/source/filter/FilterConfigCache.cxx @@ -21,6 +21,7 @@ #include #include +#include #include #include #include