diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-04-19 20:36:58 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-04-22 15:36:50 +0200 |
commit | e12fa18c69cbe1f441e972f3519d33638f15658e (patch) | |
tree | 323c049c122220ad5dc91fc6d1c3dfe613793ff9 /desktop | |
parent | 0b48cee16d459d27ebd090d008ec9398c86fc581 (diff) |
tdf#42949 Simplify use of rtl::math::approxEqual in include/basegfx/
Turns out we can save about 500Mb of preprocessor input if we use
rtl_math_approxEqual from rtl/math.h instead of its C++ wrapper
rtl::math::approxEqual from rtl/math.hxx
and manage the fallout accordingly.
Before:
bin/includebloat.awk | head
sum total bytes included (excluding system headers): 19017296671
After:
$ bin/includebloat.awk | head
sum total bytes included (excluding system headers): 18535432672
Change-Id: I1691171f3a309405a7099882ad9989d147f59118
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92508
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/qa/desktop_lib/test_desktop_lib.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx | 1 | ||||
-rw-r--r-- | desktop/source/splash/splash.cxx | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index c243b75a25f8..ce0a55d2acf8 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -25,6 +25,7 @@ #include <vcl/syswin.hxx> #include <vcl/window.hxx> #include <comphelper/processfactory.hxx> +#include <rtl/math.hxx> #include <rtl/uri.hxx> #include <sfx2/app.hxx> #include <sfx2/lokhelper.hxx> diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index b2f4d0c48c68..a345a87d22a9 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -39,6 +39,7 @@ #include <osl/mutex.hxx> #include <sal/log.hxx> +#include <rtl/ustrbuf.hxx> #include <svtools/restartdialog.hxx> diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index 3e0ca1a7ab9c..e42b6e41c172 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -36,6 +36,7 @@ #include <cppuhelper/weakref.hxx> #include <i18nlangtag/languagetag.hxx> #include <osl/diagnose.h> +#include <rtl/ustrbuf.hxx> #include <vcl/event.hxx> #include <vcl/ptrstyle.hxx> #include <vcl/svapp.hxx> diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index 8db0ece84be2..0ebfa19694ab 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -46,6 +46,7 @@ #include <dp_misc.h> #include "dp_gui_extensioncmdqueue.hxx" #include <ucbhelper/content.hxx> +#include <rtl/ustrbuf.hxx> #include <rtl/ref.hxx> #include <salhelper/thread.hxx> #include <com/sun/star/uno/Sequence.h> diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx index bb90234881f7..b42ffe11b347 100644 --- a/desktop/source/splash/splash.cxx +++ b/desktop/source/splash/splash.cxx @@ -31,6 +31,7 @@ #include <cppuhelper/supportsservice.hxx> #include <rtl/bootstrap.hxx> #include <rtl/strbuf.hxx> +#include <rtl/math.hxx> #include <vcl/introwin.hxx> #include <vcl/virdev.hxx> |