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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/core/sdpage2.cxx | 1 | ||||
-rw-r--r-- | sd/source/filter/html/htmlex.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/framework/configuration/Configuration.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/drviewsh.cxx | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx index 9b79f54a9c31..d5e23641ae1a 100644 --- a/sd/source/core/sdpage2.cxx +++ b/sd/source/core/sdpage2.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/text/XTextCopy.hpp> #include <tools/debug.hxx> #include <svx/svddef.hxx> +#include <rtl/math.hxx> #include <Annotation.hxx> #include <notifydocumentevent.hxx> diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx index c81a528a0c66..f49dde487f39 100644 --- a/sd/source/filter/html/htmlex.hxx +++ b/sd/source/filter/html/htmlex.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SD_SOURCE_FILTER_HTML_HTMLEX_HXX #include <resltn.hxx> +#include <rtl/ustrbuf.hxx> #include <tools/color.hxx> #include <tools/solar.h> #include <vcl/errinf.hxx> diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index 43420abcbb2b..540a4db23fea 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> +#include <rtl/ustrbuf.hxx> #include <sfx2/viewfrm.hxx> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleRole.hpp> diff --git a/sd/source/ui/framework/configuration/Configuration.cxx b/sd/source/ui/framework/configuration/Configuration.cxx index 138d7883078b..05f5d924b9c1 100644 --- a/sd/source/ui/framework/configuration/Configuration.cxx +++ b/sd/source/ui/framework/configuration/Configuration.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.hpp> #include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> +#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 9a1ab0b05090..d969d60a1465 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/frame/XController.hpp> #include <cppuhelper/compbase.hxx> #include <svl/lstner.hxx> +#include <rtl/ustrbuf.hxx> #include <sfx2/request.hxx> diff --git a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx index a1a94040ea15..ca059ec8d98d 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx @@ -31,6 +31,7 @@ #include <Window.hxx> #include <o3tl/safeint.hxx> +#include <rtl/math.hxx> #include <vcl/virdev.hxx> #include <basegfx/range/b2drectangle.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/sd/source/ui/view/drviewsh.cxx b/sd/source/ui/view/drviewsh.cxx index 5b714de73837..f6e92706993d 100644 --- a/sd/source/ui/view/drviewsh.cxx +++ b/sd/source/ui/view/drviewsh.cxx @@ -20,6 +20,7 @@ #include <DrawViewShell.hxx> #include <sal/log.hxx> +#include <rtl/math.hxx> #include <comphelper/lok.hxx> #include <DrawDocShell.hxx> |