summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-04-19 20:36:58 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-04-22 15:36:50 +0200
commite12fa18c69cbe1f441e972f3519d33638f15658e (patch)
tree323c049c122220ad5dc91fc6d1c3dfe613793ff9 /uui
parent0b48cee16d459d27ebd090d008ec9398c86fc581 (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 'uui')
-rw-r--r--uui/source/iahndl-authentication.cxx1
-rw-r--r--uui/source/iahndl-errorhandler.cxx1
-rw-r--r--uui/source/iahndl.cxx1
-rw-r--r--uui/source/secmacrowarnings.cxx1
4 files changed, 4 insertions, 0 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index 0a4cca10a817..ad975d3f9ae7 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -32,6 +32,7 @@
#include <osl/diagnose.h>
#include <rtl/digest.h>
+#include <rtl/ustrbuf.hxx>
#include <unotools/resmgr.hxx>
#include <vcl/errinf.hxx>
#include <vcl/abstdlg.hxx>
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 6abe1c30cfc4..56f54255d730 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -30,6 +30,7 @@
#include <svx/svxerr.hxx>
#include <unotools/resmgr.hxx>
#include <osl/diagnose.h>
+#include <rtl/ustrbuf.hxx>
#include <ids.hrc>
#include "getcontinuations.hxx"
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index f3c7c3b94088..f65a225558bc 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -59,6 +59,7 @@
#include <com/sun/star/loader/CannotActivateFactoryException.hpp>
#include <sal/log.hxx>
+#include <rtl/ustrbuf.hxx>
#include <osl/conditn.hxx>
#include <unotools/resmgr.hxx>
#include <vcl/errinf.hxx>
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 0288d5d1ec15..2f987b241fe9 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
#include <comphelper/processfactory.hxx>
#include <osl/file.h>
+#include <rtl/ustrbuf.hxx>
#include <tools/debug.hxx>
#include <unotools/securityoptions.hxx>