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 /editeng | |
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 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleStaticTextBase.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/eehtml.hxx | 1 | ||||
-rw-r--r-- | editeng/source/items/frmitems.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 37aaf2b80459..1abfd2c40de5 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -25,6 +25,7 @@ #include <memory> #include <vector> #include <algorithm> +#include <rtl/ustrbuf.hxx> #include <tools/debug.hxx> #include <vcl/window.hxx> #include <vcl/svapp.hxx> diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx index 8a7394d25e59..a2aa0e0448af 100644 --- a/editeng/source/editeng/eehtml.hxx +++ b/editeng/source/editeng/eehtml.hxx @@ -21,6 +21,7 @@ #include <memory> #include <editdoc.hxx> +#include <rtl/ustrbuf.hxx> #include <svtools/parhtml.hxx> class EditEngine; diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 9f8764454f7c..8c0a44be5911 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -42,6 +42,7 @@ #include <vcl/GraphicObject.hxx> #include <tools/urlobj.hxx> #include <svl/memberid.h> +#include <rtl/math.hxx> #include <rtl/ustring.hxx> #include <tools/mapunit.hxx> #include <vcl/graphicfilter.hxx> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 7f76e830ff25..82d511b00715 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/text/VertOrientation.hpp> #include <editeng/brushitem.hxx> +#include <rtl/ustrbuf.hxx> #include <vcl/font.hxx> #include <vcl/settings.hxx> #include <editeng/editids.hrc> diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index b24500387a61..2e2cf4fe7604 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -35,6 +35,7 @@ #include <editeng/editrids.hrc> #include <tools/mapunit.hxx> +#include <rtl/math.hxx> #include <rtl/ustring.hxx> #include <i18nlangtag/languagetag.hxx> #include <svl/itemset.hxx> |